diff options
Diffstat (limited to 'nanohttp/nanohttp-client.c')
-rw-r--r-- | nanohttp/nanohttp-client.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/nanohttp/nanohttp-client.c b/nanohttp/nanohttp-client.c index 10b16c2..a105b82 100644 --- a/nanohttp/nanohttp-client.c +++ b/nanohttp/nanohttp-client.c @@ -1,5 +1,5 @@ /****************************************************************** -* $Id: nanohttp-client.c,v 1.42 2006/11/19 09:40:14 m0gg Exp $ +* $Id: nanohttp-client.c,v 1.43 2006/11/21 08:34:34 m0gg Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -49,6 +49,10 @@ #include <string.h> #endif +#ifdef HAVE_TIME_H +#include <time.h> +#endif + #ifdef HAVE_NETINET_IN_H #include <netinet/in.h> #endif @@ -128,7 +132,6 @@ httpc_free(httpc_conn_t * conn) if (conn == NULL) return; - while (conn->header != NULL) { tmp = conn->header; |