summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorSuper User2007-08-26 15:23:58 +0200
committerSuper User2007-08-26 15:23:58 +0200
commitce197cab91d66c14f11d818f343720a785dd616e (patch)
treeb52d356ce4b101722a5e9a8da0e750b0eaef2039 /main.c
parentdito (diff)
downloadlcr-ce197cab91d66c14f11d818f343720a785dd616e.tar.gz
lcr-ce197cab91d66c14f11d818f343720a785dd616e.tar.xz
lcr-ce197cab91d66c14f11d818f343720a785dd616e.zip
backup
Diffstat (limited to 'main.c')
-rw-r--r--main.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/main.c b/main.c
index 1561f9e..38c710a 100644
--- a/main.c
+++ b/main.c
@@ -44,6 +44,10 @@ struct timezone now_tz;
int global_debug = 0;
int quit=0;
+#if 0
+struct lcr_fdset lcr_fdset[FD_SETSIZE];
+#endif
+
pthread_mutex_t mutexd; // debug output mutex
//pthread_mutex_t mutext; // trace output mutex
pthread_mutex_t mutexe; // error output mutex
@@ -200,6 +204,11 @@ int main(int argc, char *argv[])
int idletime = 0, idlecheck = 0;
char tracetext[256];
+#if 0
+ /* init fdset */
+ memset(lcr_fdset, 0, sizeof(lcr_fdset));
+#endif
+
/* current time */
GET_NOW();