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

Comparing ircd-hybrid/trunk/src/conf.c (file contents):
Revision 4080 by michael, Sat Jun 28 16:02:44 2014 UTC vs.
Revision 4086 by michael, Sat Jun 28 16:44:20 2014 UTC

# Line 479 | Line 479 | find_or_add_ip(struct irc_ssaddr *ip_in)
479      garbage_collect_ip_entries();
480  
481    newptr = mp_pool_get(ip_entry_pool);
482 <  memset(newptr, 0, sizeof(*newptr));
482 >
483    ip_entries_count++;
484    memcpy(&newptr->ip, ip_in, sizeof(struct irc_ssaddr));
485  

Diff Legend

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