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

Comparing ircd-hybrid/trunk/src/modules.c (file contents):
Revision 1618 by michael, Tue Oct 30 21:04:38 2012 UTC vs.
Revision 1646 by michael, Wed Nov 7 21:02:43 2012 UTC

# Line 147 | Line 147 | load_a_module(const char *path, int warn
147    if (EmptyString(modp->version))
148      modp->version = unknown_ver;
149  
150 <  DupString(modp->name, mod_basename);
150 >  modp->name = xstrdup(mod_basename);
151    dlinkAdd(modp, &modp->node, &modules_list);
152  
153    if (modp->modinit)

Diff Legend

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