[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: icecream/daemon
From: Michael Matz <matz () kde ! org>
Date: 2006-07-11 9:31:57
Message-ID: 1152610317.314450.10860.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 560804 by matz:
If we have a scheduler host set, the discover fd will be -1. Don't
enter it into select sets.
M +1 -1 main.cpp
--- trunk/icecream/daemon/main.cpp #560803:560804
@@ -1101,7 +1101,7 @@
FD_SET( scheduler->fd, &listen_set );
if ( max_fd < scheduler->fd )
max_fd = scheduler->fd;
- } else if ( discover ) {
+ } else if ( discover && discover->get_fd() >= 0) {
/* We don't explicitely check for discover->get_fd() being in
the selected set below. If it's set, we simply will return
and our call will make sure we try to get the scheduler. */
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic