From 8787eed7e2ebca3aad48d85f430769e179ee2c21 Mon Sep 17 00:00:00 2001 From: snowdrop Date: Mon, 13 Sep 2004 06:39:53 +0000 Subject: fixed: if (err) was out of the ifdef block --- nanohttp/nanohttp-socket.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nanohttp') 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; -- cgit v1.1-32-gdbae