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 8279 by michael, Tue Feb 20 19:30:13 2018 UTC vs.
Revision 8310 by michael, Wed Feb 28 16:46:13 2018 UTC

# Line 229 | Line 229 | mod_add_path(const char *path)
229    if (mod_find_path(path))
230      return;
231  
232 <  pathst = xcalloc(sizeof(struct module_path));
232 >  pathst = xcalloc(sizeof(*pathst));
233    pathst->path = xstrdup(path);
234    dlinkAdd(pathst, &pathst->node, &modules_path);
235   }
# Line 245 | Line 245 | add_conf_module(const char *name)
245   {
246    struct module_path *pathst;
247  
248 <  pathst = xcalloc(sizeof(struct module_path));
248 >  pathst = xcalloc(sizeof(*pathst));
249    pathst->path = xstrdup(name);
250    dlinkAdd(pathst, &pathst->node, &modules_conf);
251   }

Diff Legend

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