Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

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

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! */
return(0);
SAFECOPY(src, path);
......
Markdown is supported
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