/[svn]/ircd-hybrid-7.2/src/s_bsd.c
ViewVC logotype

Diff of /ircd-hybrid-7.2/src/s_bsd.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 168 by lusky, Sun Oct 2 21:05:51 2005 UTC revision 169 by michael, Fri Oct 21 09:37:16 2005 UTC
# Line 361  add_connection(struct Listener* listener Line 361  add_connection(struct Listener* listener
361     * copy address to 'sockhost' as a string, copy it to host too     * copy address to 'sockhost' as a string, copy it to host too
362     * so we have something valid to put into error messages...     * so we have something valid to put into error messages...
363     */     */
   new_client->localClient->port = ntohs(irn.ss_port);  
364    memcpy(&new_client->localClient->ip, &irn, sizeof(struct irc_ssaddr));    memcpy(&new_client->localClient->ip, &irn, sizeof(struct irc_ssaddr));
365    
366    irc_getnameinfo((struct sockaddr*)&new_client->localClient->ip,    irc_getnameinfo((struct sockaddr*)&new_client->localClient->ip,

Legend:
Removed from v.168  
changed lines
  Added in v.169

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28