X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Fconn.c;h=6042db2f3f3a9e644b5ae4f3548ea803e57edcc5;hp=46a6ec298692ad156c6323507f6822b0a5183078;hb=f99f9a8f02390e8d49dbaad478678a0427872f5e;hpb=2fe13f0a452841cc10cf7f29c556f17fff131675 diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c index 46a6ec29..6042db2f 100644 --- a/src/ngircd/conn.c +++ b/src/ngircd/conn.c @@ -17,7 +17,7 @@ #include "portab.h" #include "io.h" -static char UNUSED id[] = "$Id: conn.c,v 1.218 2007/12/07 21:19:01 fw Exp $"; +static char UNUSED id[] = "$Id: conn.c,v 1.220 2007/12/13 01:30:16 fw Exp $"; #include "imp.h" #include @@ -1394,7 +1394,7 @@ New_Server( int Server , struct in_addr *dest) InitSinaddr(&local_addr, 0); local_addr.sin_addr = Conf_Server[Server].bind_addr; if (bind(new_sock, (struct sockaddr *)&local_addr, (socklen_t)sizeof(local_addr))) - Log(LOG_WARNING, "Can't bind socket to %s!", Conf_ListenAddress, strerror( errno )); + Log(LOG_WARNING, "Can't bind socket to %s: %s!", inet_ntoa(Conf_Server[Server].bind_addr), strerror( errno )); res = connect(new_sock, (struct sockaddr *)&new_addr, (socklen_t)sizeof(new_addr));