Commit 21786eec authored by Sergey Lyubka's avatar Sergey Lyubka

Changed int -> SOCKET where appropriate, per Ben Currie

parent 036b213b
......@@ -189,7 +189,7 @@ typedef struct DIR {
#ifndef HAVE_POLL
struct pollfd {
int fd;
SOCKET fd;
short events;
short revents;
};
......@@ -2549,7 +2549,7 @@ int mg_modify_passwords_file(const char *fname, const char *domain,
return 1;
}
static int conn2(const char *host, int port, int use_ssl,
static SOCKET conn2(const char *host, int port, int use_ssl,
char *ebuf, size_t ebuf_len) {
struct sockaddr_in sin;
struct hostent *he;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment