Fix typo (unsupproted => unsupported) in error message

This commit is contained in:
Thomas SOËTE 2016-11-30 15:26:59 +01:00
parent 3c4fe59e09
commit a286832170

View File

@ -1658,7 +1658,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) {
@ -1670,7 +1670,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,