summaryrefslogtreecommitdiffstats
path: root/nanohttp/nanohttp-socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'nanohttp/nanohttp-socket.c')
-rw-r--r--nanohttp/nanohttp-socket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nanohttp/nanohttp-socket.c b/nanohttp/nanohttp-socket.c
index 1943181..182c91a 100644
--- a/nanohttp/nanohttp-socket.c
+++ b/nanohttp/nanohttp-socket.c
@@ -1,5 +1,5 @@
/******************************************************************
-* $Id: nanohttp-socket.c,v 1.15 2004/09/07 18:40:38 rans Exp $
+* $Id: nanohttp-socket.c,v 1.16 2004/09/13 06:39:53 snowdrop Exp $
*
* CSOAP Project: A http client/server library in C
* Copyright (C) 2003 Ferhat Ayaz
@@ -265,11 +265,11 @@ hsocket_accept (hsocket_t sock, void (*func) (void *), conndata_t * conns,
err =
pthread_create (&(conns[i].tid), &(conns[i].attr), func,
&conns[i]);
-#endif
if (err)
{
log_error2 ("Error creating thread: ('%d')", err);
}
+#endif
}
}
return 0;