mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-28 07:28:13 +08:00
error message in set_ssl_option() corrected
This commit is contained in:
parent
b1f973b62b
commit
68dde1b7b1
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user