Parent Directory | Revision Log | Patch
revision 1800 by schoenebeck, Sun Dec 7 01:26:46 2008 UTC | revision 1808 by persson, Sun Dec 14 15:43:18 2008 UTC | |
---|---|---|
# | Line 507 int LSCPServer::Main() { | Line 507 int LSCPServer::Main() { |
507 | ||
508 | int retval = select(maxSessions+1, &selectSet, NULL, NULL, &timeout); | int retval = select(maxSessions+1, &selectSet, NULL, NULL, &timeout); |
509 | ||
510 | if (retval == 0) | if (retval == 0 || (retval == -1 && errno == EINTR)) |
511 | continue; //Nothing try again | continue; //Nothing try again |
512 | if (retval == -1) { | if (retval == -1) { |
513 | std::cerr << "LSCPServer: Socket select error." << std::endl; | std::cerr << "LSCPServer: Socket select error." << std::endl; |
|
ViewVC Help | |
Powered by ViewVC |