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

Comparing ircd-hybrid/trunk/src/hook.c (file contents):
Revision 1645 by michael, Sat Oct 27 21:02:32 2012 UTC vs.
Revision 1646 by michael, Wed Nov 7 21:02:43 2012 UTC

# Line 74 | Line 74 | register_callback(const char *name, CBFU
74  
75    if (name != NULL)
76    {
77 <    DupString(cb->name, name);
77 >    cb->name = xstrdup(name);
78      dlinkAdd(cb, &cb->node, &callback_list);
79    }
80  

Diff Legend

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