summaryrefslogtreecommitdiffstats
path: root/nanohttp/nanohttp-server.c
diff options
context:
space:
mode:
authorGravatar m0gg2006-11-26 20:13:05 +0000
committerGravatar m0gg2006-11-26 20:13:05 +0000
commit65985c4e6527c82a75367d9c5418b009dfbc6379 (patch)
tree2050e9f4ccd9f460c3f3dbb27446baaa0fbbd9ae /nanohttp/nanohttp-server.c
parentc8705844bd924e8e00bc79ec0f4ae92c85f7e48e (diff)
downloadcsoap-65985c4e6527c82a75367d9c5418b009dfbc6379.tar.gz
csoap-65985c4e6527c82a75367d9c5418b009dfbc6379.tar.bz2
soap.udp transport added (alpha)
Diffstat (limited to 'nanohttp/nanohttp-server.c')
-rw-r--r--nanohttp/nanohttp-server.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/nanohttp/nanohttp-server.c b/nanohttp/nanohttp-server.c
index c144acf..b0e650d 100644
--- a/nanohttp/nanohttp-server.c
+++ b/nanohttp/nanohttp-server.c
@@ -1,5 +1,5 @@
/******************************************************************
-* $Id: nanohttp-server.c,v 1.68 2006/11/25 16:35:57 m0gg Exp $
+* $Id: nanohttp-server.c,v 1.69 2006/11/26 20:13:06 m0gg Exp $
*
* CSOAP Project: A http client/server library in C
* Copyright (C) 2003 Ferhat Ayaz
@@ -145,11 +145,15 @@ static pthread_mutex_t _httpd_connection_lock;
static void _sys_sleep(int secs)
{
Sleep(secs*1000);
+
+ return;
}
#else
static inline void _sys_sleep(int secs)
{
sleep(secs);
+
+ return;
}
#endif
@@ -229,8 +233,6 @@ httpd_init(int argc, char **argv)
return status;
}
- log_verbose2("socket bind to port '%d'", _httpd_port);
-
_httpd_connection_slots_init();
if ((status = _httpd_register_builtin_services(argc, argv)) != H_OK)