ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/src/server.c
(Generate patch)

Comparing ircd-hybrid-7.3/src/s_serv.c (file contents):
Revision 1122 by michael, Fri Jan 7 22:01:47 2011 UTC vs.
Revision 1123 by michael, Sun Feb 6 21:57:50 2011 UTC

# Line 37 | Line 37
37   #include "fdlist.h"
38   #include "hash.h"
39   #include "irc_string.h"
40 #include "inet_misc.h"
40   #include "sprintf_irc.h"
41   #include "ircd.h"
42   #include "ircd_defs.h"
43   #include "s_bsd.h"
45 #include "irc_getnameinfo.h"
44   #include "numeric.h"
45   #include "packet.h"
46   #include "irc_res.h"
# Line 1568 | Line 1566 | serv_connect(struct AccessItem *aconf, s
1566    conf = unmap_conf_item(aconf);
1567  
1568    /* log */
1569 <  irc_getnameinfo((struct sockaddr*)&aconf->ipnum, aconf->ipnum.ss_len,
1570 <                  buf, HOSTIPLEN, NULL, 0, NI_NUMERICHOST);
1569 >  getnameinfo((struct sockaddr *)&aconf->ipnum, aconf->ipnum.ss_len,
1570 >              buf, sizeof(buf), NULL, 0, NI_NUMERICHOST);
1571    ilog(L_NOTICE, "Connect to %s[%s] @%s", aconf->user, aconf->host,
1572         buf);
1573  

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)