mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-16 10:39:49 +00:00
portable socket type should be SOCKET
This commit is contained in:
1 parent
a2239c2b4b
commit
d8536b011c
1 file changed
+1
-1
+1
-1
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user