From 68dde1b7b1ee5658fb28489c00045168609d8672 Mon Sep 17 00:00:00 2001 From: valenok Date: Mon, 30 Aug 2010 17:56:43 +0100 Subject: [PATCH] error message in set_ssl_option() corrected --- mongoose.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mongoose.c b/mongoose.c index c0633246..5179d70d 100644 --- a/mongoose.c +++ b/mongoose.c @@ -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;