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:
27feefc
)
Conditional redefine of svc_fdset to onc_svc_fdset.
author
Scott Cantor
<cantor.2@osu.edu>
Tue, 22 Jul 2003 02:37:06 +0000
(
02:37
+0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Tue, 22 Jul 2003 02:37:06 +0000
(
02:37
+0000)
shar/shar-utils.cpp
patch
|
blob
|
history
diff --git
a/shar/shar-utils.cpp
b/shar/shar-utils.cpp
index
8ead704
..
ade6ddf
100644
(file)
--- a/
shar/shar-utils.cpp
+++ b/
shar/shar-utils.cpp
@@
-26,6
+26,10
@@
#include <shib/shib-threads.h>
#include <shib-target/ccache-utils.h>
+#ifdef USE_OUR_ONCRPC
+# define svc_fdset onc_svc_fdset
+#endif
+
using namespace std;
using namespace shibboleth;
using namespace shibtarget;
@@
-112,7
+116,7
@@
void SharChild::run()
fd_set readfds;
struct timeval tv = { 0, 0 };
- while(running && FD_ISSET(sock, &
onc_
svc_fdset)) {
+ while(running && FD_ISSET(sock, &svc_fdset)) {
FD_ZERO(&readfds);
FD_SET(sock, &readfds);
tv.tv_sec = 1;