/[svn]/ircd-hybrid/branches/8.2.x/src/listener.c
ViewVC logotype

Diff of /ircd-hybrid/branches/8.2.x/src/listener.c

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

revision 10002 by michael, Sat Jun 26 13:04:14 2021 UTC revision 10003 by michael, Sat Jun 26 15:15:13 2021 UTC
# Line 199  listener_finalize(struct Listener *liste Line 199  listener_finalize(struct Listener *liste
199    
200    getnameinfo((const struct sockaddr *)&listener->addr, listener->addr.ss_len,    getnameinfo((const struct sockaddr *)&listener->addr, listener->addr.ss_len,
201                buf, sizeof(buf), NULL, 0, NI_NUMERICHOST);                buf, sizeof(buf), NULL, 0, NI_NUMERICHOST);
202    
203      if (buf[0] == ':' && buf[1] == ':')
204      {
205        memmove(buf + 1, buf, sizeof(buf) - 1);
206        buf[0] = '0';
207      }
208    
209    listener->name = xstrdup(buf);    listener->name = xstrdup(buf);
210    
211    /*    /*

Legend:
Removed from v.10002  
changed lines
  Added in v.10003

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