summaryrefslogtreecommitdiffstats
path: root/nanohttp
diff options
context:
space:
mode:
authorGravatar snowdrop2004-09-13 06:39:53 +0000
committerGravatar snowdrop2004-09-13 06:39:53 +0000
commit8787eed7e2ebca3aad48d85f430769e179ee2c21 (patch)
tree9b16d2a97331cc7e787118a0318b4716a07ebe28 /nanohttp
parentc3e5977c555ede30117481d9601253ba01f1e725 (diff)
downloadcsoap-8787eed7e2ebca3aad48d85f430769e179ee2c21.tar.gz
csoap-8787eed7e2ebca3aad48d85f430769e179ee2c21.tar.bz2
fixed: if (err) was out of the ifdef block
Diffstat (limited to 'nanohttp')
-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;