summaryrefslogtreecommitdiff
path: root/daemon/httpauthd.c
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2004-07-06 19:56:49 +0000
committerStef Walter <stef@memberwebs.com>2004-07-06 19:56:49 +0000
commit166f69df6dd704626c1b09ae60145956435b67e1 (patch)
treedc281aa40ea1fbddc73b1043c229835c8a6b59df /daemon/httpauthd.c
parentb70e2d0ef64738561685072f01f7b3181fc89c69 (diff)
- Better LDAP connection support
- Fixed other small bugs
Diffstat (limited to 'daemon/httpauthd.c')
-rw-r--r--daemon/httpauthd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/httpauthd.c b/daemon/httpauthd.c
index d3efbe9..e5b8dcb 100644
--- a/daemon/httpauthd.c
+++ b/daemon/httpauthd.c
@@ -362,7 +362,7 @@ int main(int argc, char* argv[])
}
/* Start a new thread if neccessary */
- if(fd != 0 && threads[i].tid == 0)
+ if(fd != -1 && threads[i].tid == 0)
{
threads[i].fd = fd;
r = pthread_create(&(threads[i].tid), NULL, httpauth_thread,