projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c92af55
)
even more attempted changes for ipMIDI on windows
author
Paul Davis
<paul@linuxaudiosystems.com>
Sat, 12 Dec 2015 06:17:49 +0000
(
01:17
-0500)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Sat, 12 Dec 2015 06:17:49 +0000
(
01:17
-0500)
libs/midi++2/ipmidi_port.cc
patch
|
blob
|
history
diff --git
a/libs/midi++2/ipmidi_port.cc
b/libs/midi++2/ipmidi_port.cc
index 7357f6743ab063d76d6ffbd6e2ba13977a199f66..021093555c6b81d0d38dea5a911fbb5a48781047 100644
(file)
--- 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;