Corrected errror message in set_ports_option()

This commit is contained in:
valenok 2011-06-22 08:37:11 +01:00
parent a77519def3
commit ff28c04b60

View File

@ -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)