From 166f69df6dd704626c1b09ae60145956435b67e1 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Tue, 6 Jul 2004 19:56:49 +0000 Subject: - Better LDAP connection support - Fixed other small bugs --- daemon/httpauthd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'daemon/httpauthd.c') 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, -- cgit v1.2.3