Skip to content

Commit

Permalink
Initialize listening socket: Streamline error message
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbarton committed Apr 1, 2018
1 parent 263c5ed commit 6af9476
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ngircd/conn.c
Expand Up @@ -556,8 +556,8 @@ InitSinaddrListenAddr(ng_ipaddr_t *addr, const char *listen_addrstr, UINT16 Port
if (!ret) {
assert(listen_addrstr);
Log(LOG_CRIT,
"Can't bind to [%s]:%u: can't convert ip address \"%s\"!",
listen_addrstr, Port, listen_addrstr);
"Can't listen on [%s]:%u: Failed to parse IP address!",
listen_addrstr, Port);
}
return ret;
}
Expand Down

0 comments on commit 6af9476

Please sign in to comment.