Commit b093e0c7 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Fix newly-introduced (but likely harmless) bug in mv()

Thanks Coverity! (CID 332340)
parent 3549be9f
Pipeline #2373 passed with stage
in 9 minutes and 31 seconds
......@@ -3938,7 +3938,7 @@ int sbbs_t::mv(const char* path, const char* dest, bool copy)
char src[MAX_PATH + 1];
if(!stricmp(src,dest)) /* source and destination are the same! */
if(!stricmp(path, dest)) /* source and destination are the same! */
SAFECOPY(src, path);
Supports Markdown
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