summaryrefslogtreecommitdiffstats
path: root/nanohttp
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-02-18 02:58:53 +0100
committerGravatar Nikias Bassen2013-02-18 02:58:53 +0100
commitd7cf83b38c3edd77c6159bc3c62144b52fabe223 (patch)
tree7d62efa4a794e9dd9be6f1a44901c9696090f3df /nanohttp
parent64c3d91fff4f00b03a99963ebead557af5255fa5 (diff)
downloadcsoap-d7cf83b38c3edd77c6159bc3c62144b52fabe223.tar.gz
csoap-d7cf83b38c3edd77c6159bc3c62144b52fabe223.tar.bz2
fix nanohttp building in non-SSL build
Diffstat (limited to 'nanohttp')
-rw-r--r--nanohttp/nanohttp-server.c2
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;