From d8536b011cca06b77e2dae26a0731071ed254d7d Mon Sep 17 00:00:00 2001 From: KIU Shueng Chuan <nixchuan@gmail.com> Date: Sun, 24 Feb 2013 23:41:32 +0800 Subject: [PATCH] portable socket type should be SOCKET --- mongoose.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mongoose.c b/mongoose.c index a17d1e457..5b715c010 100644 --- a/mongoose.c +++ b/mongoose.c @@ -4693,7 +4693,7 @@ struct mg_connection *mg_connect(const char *host, int port, int use_ssl, struct mg_connection *conn = NULL; struct sockaddr_in sin; struct hostent *he; - int sock; + SOCKET sock; if (host == NULL) { snprintf(ebuf, ebuf_len, "%s", "NULL host"); -- GitLab