diff options
-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; |