ngircd

Free, portable and lightweight Internet Relay Chat server http://ngircd.barton.de/
Log | Files | Refs | README | LICENSE

commit 6af9476cad286d898c7bf72d477039425cb788e7
parent 263c5edb606459a74bc3d18f455ae117c1268f69
Author: Alexander Barton <alex@barton.de>
Date:   Sun,  1 Apr 2018 02:18:36 +0200

Initialize listening socket: Streamline error message

Diffstat:
Msrc/ngircd/conn.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c @@ -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; }