Skip to content
Snippets Groups Projects
Commit 6843f6c5 authored by rswindell's avatar rswindell
Browse files

Bugfix: chk_ar() no longer always returns FALSE when passed a NULL user pointer

(ar_exp handles a NULL user pointer correctly)
This bug caused addfiles chk_ar() calls to all fail, causing no DIZ's to be
imported.
parent 93c80299
No related branches found
No related tags found
No related merge requests found
......@@ -1626,7 +1626,7 @@ BOOL DLLCALL chk_ar(scfg_t* cfg, uchar *ar, user_t* user)
if(ar==NULL)
return(TRUE);
if(!VALID_CFG(cfg) || user==NULL)
if(!VALID_CFG(cfg))
return(FALSE);
p=ar;
return(ar_exp(cfg,&p,user));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment