From d7cf83b38c3edd77c6159bc3c62144b52fabe223 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Mon, 18 Feb 2013 02:58:53 +0100 Subject: fix nanohttp building in non-SSL build --- nanohttp/nanohttp-server.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nanohttp/nanohttp-server.c') diff --git a/nanohttp/nanohttp-server.c b/nanohttp/nanohttp-server.c index 719bc98..0fa675f 100644 --- a/nanohttp/nanohttp-server.c +++ b/nanohttp/nanohttp-server.c @@ -750,7 +750,9 @@ httpd_session_main(void *data) switch ((code = herror_code(status))) { +#if HAVE_SSL case HSSL_ERROR_SSLCLOSE: +#endif case HSOCKET_ERROR_RECEIVE: log_error("hrequest_new_from_socket failed (%s)", herror_message(status)); break; -- cgit v1.1-32-gdbae