diff options
author | Nikias Bassen | 2013-02-18 02:58:53 +0100 |
---|---|---|
committer | Nikias Bassen | 2013-02-18 02:58:53 +0100 |
commit | d7cf83b38c3edd77c6159bc3c62144b52fabe223 (patch) | |
tree | 7d62efa4a794e9dd9be6f1a44901c9696090f3df | |
parent | 64c3d91fff4f00b03a99963ebead557af5255fa5 (diff) | |
download | csoap-d7cf83b38c3edd77c6159bc3c62144b52fabe223.tar.gz csoap-d7cf83b38c3edd77c6159bc3c62144b52fabe223.tar.bz2 |
fix nanohttp building in non-SSL build
-rw-r--r-- | nanohttp/nanohttp-server.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |