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

Comparing ircd-hybrid/trunk/src/s_bsd.c (file contents):
Revision 5050 by michael, Sat Nov 1 15:28:42 2014 UTC vs.
Revision 5051 by michael, Sat Dec 13 21:31:06 2014 UTC

# Line 301 | Line 301 | add_connection(struct Listener *listener
301     */
302    memcpy(&client_p->connection->ip, irn, sizeof(struct irc_ssaddr));
303  
304 <  getnameinfo((struct sockaddr *)&client_p->connection->ip,
304 >  getnameinfo((const struct sockaddr *)&client_p->connection->ip,
305                client_p->connection->ip.ss_len, client_p->sockhost,
306                sizeof(client_p->sockhost), NULL, 0, NI_NUMERICHOST);
307    client_p->connection->aftype = client_p->connection->ip.ss.ss_family;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines