mirror of
https://github.com/kingk85/uFTP.git
synced 2025-07-25 13:16:12 +03:00
return code scope error on rnto function
This commit is contained in:
Binary file not shown.
BIN
build/uFTP
BIN
build/uFTP
Binary file not shown.
@ -976,7 +976,6 @@ int parseCommandRnto(clientDataType *theClientData)
|
|||||||
if (FILE_IsFile(theClientData->renameFromFile.text) == 1 ||
|
if (FILE_IsFile(theClientData->renameFromFile.text) == 1 ||
|
||||||
FILE_IsDirectory(theClientData->renameFromFile.text) == 1)
|
FILE_IsDirectory(theClientData->renameFromFile.text) == 1)
|
||||||
{
|
{
|
||||||
int returnCode = 0;
|
|
||||||
returnCode = rename (theClientData->renameFromFile.text, theClientData->renameToFile.text);
|
returnCode = rename (theClientData->renameFromFile.text, theClientData->renameToFile.text);
|
||||||
if (returnCode == 0)
|
if (returnCode == 0)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user