Skip to content
Snippets Groups Projects
Commit b093e0c7 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

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

Thanks Coverity! (CID 332340)
parent 3549be9f
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #2373 passed
......@@ -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! */
return(0);
SAFECOPY(src, path);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment