8000 applemidi.c: Fix typo, extra bracket. · g-coder/midikit@368179b · GitHub
[go: up one dir, main page]

Skip to content

Commit 368179b

Browse files
committed
applemidi.c: Fix typo, extra bracket.
1 parent 61f2b65 commit 368179b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver/applemidi/applemidi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ static int _applemidi_recv_command( struct MIDIDriverAppleMIDI * driver, int fd,
619619
len = sizeof( command->data.session.name ) - 1;
620620
}
621621
len -= 16; /* already read msg[0]..msg[3] */
622-
memcpy( &(command->data.session.name[0]), &msg[4], len) );
622+
memcpy( &(command->data.session.name[0]), &msg[4], len);
623623
command->data.session.name[len] = '\0';
624624
}
625625
ssrc = command->data.session.ssrc;

0 commit comments

Comments
 (0)
0