Browse Source

Correct JackSocketClientChannel::Execute.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4650 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/1.9.8
sletz 14 years ago
parent
commit
1bdbfae5ee
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      posix/JackSocketClientChannel.cpp

+ 1
- 2
posix/JackSocketClientChannel.cpp View File

@@ -368,7 +368,6 @@ bool JackSocketClientChannel::Execute()
JackResult res;

if (event.Read(fNotificationSocket) < 0) {
fNotificationSocket->Close();
jack_error("JackSocketClientChannel read fail");
goto error;
}
@@ -377,7 +376,6 @@ bool JackSocketClientChannel::Execute()

if (event.fSync) {
if (res.Write(fNotificationSocket) < 0) {
fNotificationSocket->Close();
jack_error("JackSocketClientChannel write fail");
goto error;
}
@@ -385,6 +383,7 @@ bool JackSocketClientChannel::Execute()
return true;

error:
fNotificationSocket->Close();
fClient->ShutDown();
return false;
}


Loading…
Cancel
Save