Merge pull request #3649 from Alkorin/fixTypo

Fix typo (unsupproted => unsupported) in error message
This commit is contained in:
Salvatore Sanfilippo 2019-02-27 22:33:22 +01:00 committed by GitHub
commit 9b0b0b3942
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2611,7 +2611,7 @@ int listenToPort(int port, int *fds, int *count) {
(*count)++;
} else if (errno == EAFNOSUPPORT) {
unsupported++;
serverLog(LL_WARNING,"Not listening to IPv6: unsupproted");
serverLog(LL_WARNING,"Not listening to IPv6: unsupported");
}
if (*count == 1 || unsupported) {
@ -2623,7 +2623,7 @@ int listenToPort(int port, int *fds, int *count) {
(*count)++;
} else if (errno == EAFNOSUPPORT) {
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,