Commit 68dde1b7 authored by valenok's avatar valenok

error message in set_ssl_option() corrected

parent b1f973b6
...@@ -3196,8 +3196,7 @@ static int set_ports_option(struct mg_context *ctx) { ...@@ -3196,8 +3196,7 @@ static int set_ports_option(struct mg_context *ctx) {
success = 0; success = 0;
} else if (is_ssl && ctx->ssl_ctx == NULL) { } else if (is_ssl && ctx->ssl_ctx == NULL) {
(void) closesocket(sock); (void) closesocket(sock);
cry(fc(ctx), "cannot add SSL socket, please specify " cry(fc(ctx), "Cannot add SSL socket, is -ssl_cert option set?");
"-ssl_cert option BEFORE -ports option");
success = 0; success = 0;
} else { } else {
listener->sock = sock; listener->sock = sock;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment