Commit cbcb779b authored by rswindell's avatar rswindell
Browse files

Fix (?) segfault in finduser() -> free_opts().

parent 57a1ba88
......@@ -1666,7 +1666,7 @@ int edit_user(scfg_t *cfg, int usernum)
void free_opts(char **opt)
int i;
for(i=0; i<(MAX_OPTS+1); i++)
for(i=0; i<(MAX_OPTS+1) && opt[i]!=NULL; i++)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment