From eb26cb346a3931ff20f56418d32f522831b2cf28 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 12 Dec 2015 01:17:49 -0500 Subject: [PATCH] even more attempted changes for ipMIDI on windows --- libs/midi++2/ipmidi_port.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/midi++2/ipmidi_port.cc b/libs/midi++2/ipmidi_port.cc index 7357f6743a..021093555c 100644 --- a/libs/midi++2/ipmidi_port.cc +++ b/libs/midi++2/ipmidi_port.cc @@ -257,7 +257,7 @@ IPMIDIPort::open_sockets (int base_port, const string& ifname) error << "cannot set non-blocking mode for IP MIDI input socket (" << ::strerror (errno) << ')' << endmsg; return false; } - imode = 1; + mode = 1; /* just in case it was modified in the previous call */ if (ioctlsocket(sockout,FIONBIO,&mode)) { error << "cannot set non-blocking mode for IP MIDI output socket (" << ::strerror (errno) << ')' << endmsg; return false;