mirror of https://github.com/redis/redis.git
Fixed log message typo in listenToPort.
This commit is contained in:
parent
a62f786344
commit
8430a79727
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue