projects
/
shibboleth
/
cpp-sp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7928b4f
)
Some additional logging.
author
Scott Cantor
<cantor.2@osu.edu>
Wed, 6 Oct 2004 22:22:21 +0000
(22:22 +0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Wed, 6 Oct 2004 22:22:21 +0000
(22:22 +0000)
shar/shar.cpp
patch
|
blob
|
history
diff --git
a/shar/shar.cpp
b/shar/shar.cpp
index
a4df49d
..
7a1775a
100644
(file)
--- a/
shar/shar.cpp
+++ b/
shar/shar.cpp
@@
-126,10
+126,11
@@
static void shar_svc_run(IListener::ShibSocket& listener, const Iterator<ShibRPC
struct timeval tv = { 0, 0 };
tv.tv_sec = 5;
- switch (select(
FD_SETSIZE
, &readfds, 0, 0, &tv)) {
+ switch (select(
listener + 1
, &readfds, 0, 0, &tv)) {
case -1:
if (errno == EINTR) continue;
SHARUtils::log_error();
+ log.error("select() on main listener socket failed");
return;
case 0: