Commit ff28c04b authored by valenok's avatar valenok

Corrected errror message in set_ports_option()

parent a77519de
...@@ -3352,7 +3352,7 @@ static int set_ports_option(struct mg_context *ctx) { ...@@ -3352,7 +3352,7 @@ static int set_ports_option(struct mg_context *ctx) {
__func__, vec.len, vec.ptr, "[IP_ADDRESS:]PORT[s|p]"); __func__, vec.len, vec.ptr, "[IP_ADDRESS:]PORT[s|p]");
success = 0; success = 0;
} else if (so.is_ssl && ctx->ssl_ctx == NULL) { } else if (so.is_ssl && ctx->ssl_ctx == NULL) {
cry(fc(ctx), "Cannot add SSL socket, is -ssl_cert option set?"); cry(fc(ctx), "Cannot add SSL socket, is -ssl_certificate option set?");
success = 0; success = 0;
} else if ((sock = socket(PF_INET, SOCK_STREAM, 6)) == INVALID_SOCKET || } else if ((sock = socket(PF_INET, SOCK_STREAM, 6)) == INVALID_SOCKET ||
#if !defined(_WIN32) #if !defined(_WIN32)
......
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