Close tsak daemon connection when read failed before trying again

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1254369 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent f365f87063
commit f6ffb7a0c3

@ -163,6 +163,7 @@ int main (int argc, char *argv[])
while (numread > 0) {
numread = read(mPipe_fd, readbuf, 6);
}
close(mPipe_fd);
mPipe_fd = open(FIFO_FILE, O_RDWR);
}
}

Loading…
Cancel
Save