From 71d63fe322877a20cfa1dda72fbbad0c14232ecc Mon Sep 17 00:00:00 2001 From: mrcsys Date: Thu, 19 Jan 2006 18:00:19 +0000 Subject: Minor win32 fixes. --- nanohttp/nanohttp-server.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'nanohttp/nanohttp-server.c') diff --git a/nanohttp/nanohttp-server.c b/nanohttp/nanohttp-server.c index 0e6832e..e9504f6 100644 --- a/nanohttp/nanohttp-server.c +++ b/nanohttp/nanohttp-server.c @@ -1,5 +1,5 @@ /****************************************************************** -* $Id: nanohttp-server.c,v 1.45 2006/01/18 16:28:24 mrcsys Exp $ +* $Id: nanohttp-server.c,v 1.46 2006/01/19 18:00:19 mrcsys Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -415,6 +415,8 @@ httpd_new (hsocket_t sock) void httpd_free (httpd_conn_t * conn) { + if(!conn) + return; if (conn->out != NULL) http_output_stream_free (conn->out); -- cgit v1.1-32-gdbae