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

Fix some suspicious typos found via clang warnings.

parent c9ee5d30
Branches
Tags
No related merge requests found
......@@ -1669,7 +1669,7 @@ static BOOL ar_exp(scfg_t* cfg, uchar **ptrptr, user_t* user, client_t* client)
(*ptrptr)++;
break;
case AR_SUBCODE:
if(user!=NULL && !findstr_in_string(user->cursub,(char *)*ptrptr)==0)
if(user!=NULL && findstr_in_string(user->cursub,(char *)*ptrptr)==0)
result=!not;
else
result=not;
......@@ -1701,7 +1701,7 @@ static BOOL ar_exp(scfg_t* cfg, uchar **ptrptr, user_t* user, client_t* client)
(*ptrptr)++;
break;
case AR_DIRCODE:
if(user!=NULL && !findstr_in_string(user->curdir,(char *)*ptrptr)==0)
if(user!=NULL && findstr_in_string(user->curdir,(char *)*ptrptr)==0)
result=!not;
else
result=not;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment