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

Comparing ircd-hybrid/trunk/src/hostmask.c (file contents):
Revision 3469 by michael, Sat May 3 17:55:53 2014 UTC vs.
Revision 3504 by michael, Sat May 10 19:51:29 2014 UTC

# Line 639 | Line 639 | add_conf_by_address(const unsigned int t
639  
640    assert(type && !EmptyString(hostname));
641  
642 <  arec = MyMalloc(sizeof(struct AddressRec));
642 >  arec = MyCalloc(sizeof(struct AddressRec));
643    arec->masktype = parse_netmask(hostname, &arec->Mask.ipa.addr, &bits);
644    arec->Mask.ipa.bits = bits;
645    arec->username = username;

Diff Legend

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