mirror of
https://github.com/cesanta/mongoose.git
synced 2025-01-18 23:53:15 +08:00
Corrected errror message in set_ports_option()
This commit is contained in:
parent
a77519def3
commit
ff28c04b60
@ -3352,7 +3352,7 @@ static int set_ports_option(struct mg_context *ctx) {
|
||||
__func__, vec.len, vec.ptr, "[IP_ADDRESS:]PORT[s|p]");
|
||||
success = 0;
|
||||
} 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;
|
||||
} else if ((sock = socket(PF_INET, SOCK_STREAM, 6)) == INVALID_SOCKET ||
|
||||
#if !defined(_WIN32)
|
||||
|
Loading…
Reference in New Issue
Block a user