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

Replaced strcmpi calls with stricmp.

parent efe0b631
No related branches found
No related tags found
No related merge requests found
......@@ -918,7 +918,7 @@ int sbbs_t::listfileinfo(uint dirnum, char *filespec, long mode)
break; }
if(p>=usrxfrbuf+usrxfrlen) /* file wasn't found */
continue; }
if((mode==FI_REMOVE) && (!dir_op(dirnum) && strcmpi(f.uler
if((mode==FI_REMOVE) && (!dir_op(dirnum) && stricmp(f.uler
,useron.alias) && !(useron.exempt&FLAG('R'))))
continue;
found++;
......@@ -1053,7 +1053,7 @@ int sbbs_t::listfileinfo(uint dirnum, char *filespec, long mode)
addfiledat(&cfg,&f);
if(f.misc&FM_EXTDESC)
putextdesc(f.dir,f.datoffset,ext); } } }
if(dir_op(dirnum) || strcmpi(f.uler,useron.alias)) {
if(dir_op(dirnum) || stricmp(f.uler,useron.alias)) {
if(noyes(text[RemoveCreditsQ]))
/* Fall through */ break; }
case 'C': /* remove credits only */
......
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