commit - 4715ccf9ca7509795295a5d2ac5aab5d9998f06a
commit + f99f9a8f02390e8d49dbaad478678a0427872f5e
blob - 7cd7a6361a0578de762c8fd8e07b40d358b9e6a4
blob + 6042db2f3f3a9e644b5ae4f3548ea803e57edcc5
--- src/ngircd/conn.c
+++ src/ngircd/conn.c
#include "portab.h"
#include "io.h"
-static char UNUSED id[] = "$Id: conn.c,v 1.219 2007/12/13 01:05: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 <assert.h>
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: %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));