Browse Source

Correct JackSocketClientChannel::ClientClose to use ServerSyncCall instead of ServerAsyncCall.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1895 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/0.71
sletz 17 years ago
parent
commit
c1a26be6d5
3 changed files with 6 additions and 2 deletions
  1. +4
    -0
      ChangeLog
  2. +1
    -1
      common/JackSocketClientChannel.cpp
  3. +1
    -1
      common/JackSocketServerChannel.cpp

+ 4
- 0
ChangeLog View File

@@ -17,6 +17,10 @@ Tim Blechmann
Jackdmp changes log
---------------------------

2008-03-02 Stephane Letz <letz@grame.fr>
* Correct JackSocketClientChannel::ClientClose to use ServerSyncCall instead of ServerAsyncCall.

2008-03-02 Stephane Letz <letz@grame.fr>
* Correct jack_get_time propotype.


+ 1
- 1
common/JackSocketClientChannel.cpp View File

@@ -162,7 +162,7 @@ void JackSocketClientChannel::ClientClose(int refnum, int* result)
{
JackClientCloseRequest req(refnum);
JackResult res;
ServerAsyncCall(&req, &res, result);
ServerSyncCall(&req, &res, result);
}

void JackSocketClientChannel::ClientActivate(int refnum, int* result)


+ 1
- 1
common/JackSocketServerChannel.cpp View File

@@ -415,7 +415,7 @@ bool JackSocketServerChannel::Execute()
int fd = fPollTable[i].fd;
JackLog("fPollTable i = %ld fd = %ld\n", i, fd);
if (fPollTable[i].revents & ~POLLIN) {
jack_error("Poll client error err = %s", strerror(errno));
JackLog("Poll client error err = %s\n", strerror(errno));
ClientKill(fd);
} else if (fPollTable[i].revents & POLLIN) {
if (HandleRequest(fd) < 0) {


Loading…
Cancel
Save