mirror of
https://github.com/cesanta/mongoose.git
synced 2025-08-05 21:18:32 +08:00
Fix #1549 - fix typo in log format specifier
This commit is contained in:
parent
72cc433265
commit
2b9f0480a1
@ -3372,7 +3372,7 @@ bool mg_open_listener(struct mg_connection *c, const char *url) {
|
||||
} else if (setsockopt(fd, SOL_SOCKET, SO_EXCLUSIVEADDRUSE, (char *) &on,
|
||||
sizeof(on)) != 0) {
|
||||
// "Using SO_REUSEADDR and SO_EXCLUSIVEADDRUSE"
|
||||
MG_ERROR(("exclusiveaddruse: %s", MG_SOCK_ERRNO));
|
||||
MG_ERROR(("exclusiveaddruse: %d", MG_SOCK_ERRNO));
|
||||
#endif
|
||||
} else if (bind(fd, &usa.sa, slen) != 0) {
|
||||
MG_ERROR(("bind: %d", MG_SOCK_ERRNO));
|
||||
|
@ -238,7 +238,7 @@ bool mg_open_listener(struct mg_connection *c, const char *url) {
|
||||
} else if (setsockopt(fd, SOL_SOCKET, SO_EXCLUSIVEADDRUSE, (char *) &on,
|
||||
sizeof(on)) != 0) {
|
||||
// "Using SO_REUSEADDR and SO_EXCLUSIVEADDRUSE"
|
||||
MG_ERROR(("exclusiveaddruse: %s", MG_SOCK_ERRNO));
|
||||
MG_ERROR(("exclusiveaddruse: %d", MG_SOCK_ERRNO));
|
||||
#endif
|
||||
} else if (bind(fd, &usa.sa, slen) != 0) {
|
||||
MG_ERROR(("bind: %d", MG_SOCK_ERRNO));
|
||||
|
Loading…
Reference in New Issue
Block a user