Merge pull request #5597 from lamby/clarify-socket-creation-error-message

Clarify the "Creating Server TCP listening socket" error message
This commit is contained in:
Salvatore Sanfilippo 2018-11-28 17:06:51 +01:00 committed by GitHub
commit ef00633759
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1958,7 +1958,7 @@ int listenToPort(int port, int *fds, int *count) {
}
if (fds[*count] == ANET_ERR) {
serverLog(LL_WARNING,
"Creating Server TCP listening socket %s:%d: %s",
"Could not create server TCP listening socket %s:%d: %s",
server.bindaddr[j] ? server.bindaddr[j] : "*",
port, server.neterr);
if (errno == ENOPROTOOPT || errno == EPROTONOSUPPORT ||