From 3e72b80d720db16e7c0c98913964d61cb233b1fb Mon Sep 17 00:00:00 2001 From: snowdrop Date: Thu, 29 Jan 2004 15:52:04 +0000 Subject: removed struct timaval in http_run() --- nanohttp/nanohttp-server.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nanohttp/nanohttp-server.c b/nanohttp/nanohttp-server.c index e739267..050d432 100644 --- a/nanohttp/nanohttp-server.c +++ b/nanohttp/nanohttp-server.c @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: nanohttp-server.c,v 1.1 2004/01/21 12:15:30 snowdrop Exp $ + * $Id: nanohttp-server.c,v 1.2 2004/01/29 15:52:04 snowdrop Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -328,13 +328,13 @@ int httpd_run() hsocket_t sockfd; int err; fd_set fds; - struct timeval timeout; + /*struct timeval timeout;*/ log_debug1("starting run routine\n"); - + /* timeout.tv_sec = 1; timeout.tv_usec = 0; - + */ /* listen to port */ err = hsocket_listen(_httpd_socket,15); if (err != HSOCKET_OK) { -- cgit v1.1-32-gdbae