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) {
success = 0;
} else if (is_ssl && ctx->ssl_ctx == NULL) {
(void) closesocket(sock);
cry(fc(ctx), "cannot add SSL socket, please specify "
"-ssl_cert option BEFORE -ports option");
cry(fc(ctx), "Cannot add SSL socket, is -ssl_cert option set?");
success = 0;
} else {
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