Commit 52b2e20a authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Change "attempted to upload to invalid directory" msg

Make it more accurate/clear:
"attempted to upload invalid path/filename"
parent 658773d6
Pipeline #2649 passed with stage
in 9 minutes and 37 seconds
......@@ -4485,7 +4485,7 @@ static void ctrl_thread(void* arg)
sprintf(str,"%s.rep",scfg.sys_id);
if(!(startup->options&FTP_OPT_ALLOW_QWK)
|| stricmp(p,str)) {
lprintf(LOG_WARNING,"%04d <%s> !attempted to upload to invalid directory: '%s'"
lprintf(LOG_WARNING,"%04d <%s> !attempted to upload invalid path/filename: '%s'"
,sock, user.alias, p);
sockprintf(sock,sess,"553 Invalid directory.");
continue;
......
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