Unverified Commit ef006337 authored by Salvatore Sanfilippo's avatar Salvatore Sanfilippo Committed by GitHub
Browse files

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

Clarify the "Creating Server TCP listening socket" error message
parents 1eca933d 9cfcf379
...@@ -1958,7 +1958,7 @@ int listenToPort(int port, int *fds, int *count) { ...@@ -1958,7 +1958,7 @@ int listenToPort(int port, int *fds, int *count) {
} }
if (fds[*count] == ANET_ERR) { if (fds[*count] == ANET_ERR) {
serverLog(LL_WARNING, 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] : "*", server.bindaddr[j] ? server.bindaddr[j] : "*",
port, server.neterr); port, server.neterr);
if (errno == ENOPROTOOPT || errno == EPROTONOSUPPORT || if (errno == ENOPROTOOPT || errno == EPROTONOSUPPORT ||
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment