Browse Source

Corrected errror message in set_ports_option()

valenok 14 years ago
parent
commit
ff28c04b60
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mongoose.c

+ 1 - 1
mongoose.c

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