mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-13 10:15:00 +00:00
Fix typo
This commit is contained in:
+1
-1
@@ -3027,7 +3027,7 @@ SOCKET mg_open_listener(const char *url, struct mg_addr *addr) {
|
||||
}
|
||||
}
|
||||
if (fd == INVALID_SOCKET) {
|
||||
if (s_err = 0) s_err = MG_SOCK_ERRNO;
|
||||
if (s_err == 0) s_err = MG_SOCK_ERRNO;
|
||||
LOG(LL_ERROR, ("Failed to listen on %s, errno %d", url, s_err));
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -181,7 +181,7 @@ SOCKET mg_open_listener(const char *url, struct mg_addr *addr) {
|
||||
}
|
||||
}
|
||||
if (fd == INVALID_SOCKET) {
|
||||
if (s_err = 0) s_err = MG_SOCK_ERRNO;
|
||||
if (s_err == 0) s_err = MG_SOCK_ERRNO;
|
||||
LOG(LL_ERROR, ("Failed to listen on %s, errno %d", url, s_err));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user