[shibboleth-sp2] 20/100: Some additional logging.
Ferenc Wágner
wferi-guest at moszumanska.debian.org
Tue Jan 26 21:29:14 UTC 2016
This is an automated email from the git hooks/post-receive script.
wferi-guest pushed a commit to annotated tag 1.2.1
in repository shibboleth-sp2.
commit 8db07cf05663634b0aba8f8df3c6f34634ac29cc
Author: Scott Cantor <cantor.2 at osu.edu>
Date: Wed Oct 6 22:22:21 2004 +0000
Some additional logging.
---
shar/shar.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/shar/shar.cpp b/shar/shar.cpp
index a4df49d..7a1775a 100644
--- 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:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/shibboleth-sp2.git
More information about the Pkg-shibboleth-devel
mailing list