mirror of
https://github.com/cesanta/mongoose.git
synced 2025-08-06 13:37:34 +08:00
Fix typo
This commit is contained in:
parent
f73ebbf689
commit
c490ff8ae7
@ -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));
|
||||
}
|
||||
|
||||
|
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user