8000 Merge pull request #7 from VishalChandla/patch-1 · g-coder/midikit@44149a3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 44149a3

Browse files
committed
Merge pull request jpommerening#7 from VishalChandla/patch-1
Update osc.c
2 parents 9b275ce + 62565e4 commit 44149a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver/osc/osc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ struct MIDIDriverOSC * MIDIDriverOSCCreate( ) {
3030
driver->refs = 1;
3131
driver->socket = socket( PF_INET, SOCK_DGRAM, 0 );
3232

33-
if (driver->socket != -1)
33+
if (driver->socket == -1)
3434
{
3535
free (driver);
3636
return NULL;

0 commit comments

Comments
 (0)
0