Fixed log message typo in listenToPort.

This commit is contained in:
Richard Hart 2017-03-13 22:17:41 -04:00
parent a62f786344
commit 8430a79727
1 changed files with 2 additions and 2 deletions

View File

@ -1676,7 +1676,7 @@ int listenToPort(int port, int *fds, int *count) {
(*count)++; (*count)++;
} else if (errno == EAFNOSUPPORT) { } else if (errno == EAFNOSUPPORT) {
unsupported++; unsupported++;
serverLog(LL_WARNING,"Not listening to IPv6: unsupproted"); serverLog(LL_WARNING,"Not listening to IPv6: unsupported");
} }
if (*count == 1 || unsupported) { if (*count == 1 || unsupported) {
@ -1688,7 +1688,7 @@ int listenToPort(int port, int *fds, int *count) {
(*count)++; (*count)++;
} else if (errno == EAFNOSUPPORT) { } else if (errno == EAFNOSUPPORT) {
unsupported++; unsupported++;
serverLog(LL_WARNING,"Not listening to IPv4: unsupproted"); serverLog(LL_WARNING,"Not listening to IPv4: unsupported");
} }
} }
/* Exit the loop if we were able to bind * on IPv4 and IPv6, /* Exit the loop if we were able to bind * on IPv4 and IPv6,