mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-17 10:49:47 +00:00
Fix #1549 - fix typo in log format specifier
This commit is contained in:
1 parent
72cc433265
commit
2b9f0480a1
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user