Merge pull request #86 from thekvs/master

I've just fixed a typo.
This commit is contained in:
Sergey Lyubka committed 2013-01-28 12:06:28 -08:00
commit 8bb49642da
1 file changed
+1 -1
+1 -1
View File
@@ -4386,7 +4386,7 @@ static int set_ports_option(struct mg_context *ctx) {
success = 0;
} else if ((so.sock = socket(so.lsa.sa.sa_family, SOCK_STREAM, 6)) ==
INVALID_SOCKET ||
set_timeout(ctx, sock) ||
set_timeout(ctx, so.sock) ||
// On Windows, SO_REUSEADDR is recommended only for
// broadcast UDP sockets
setsockopt(so.sock, SOL_SOCKET, SO_REUSEADDR, (const char *) &on,