fix a missing return code in Rename

pull/134/head
John Safranek 2019-01-07 10:55:33 -08:00
parent efb3d30026
commit aba491f927
1 changed files with 1 additions and 1 deletions

View File

@ -5320,7 +5320,7 @@ int wolfSSH_SFTP_OpenDir(WOLFSSH* ssh, byte* dir, word32 dirSz)
int wolfSSH_SFTP_Rename(WOLFSSH* ssh, const char* old, const char* nw)
{
WS_SFTP_RENAME_STATE* state;
int ret;
int ret = WS_SUCCESS;
byte type;
WLOG(WS_LOG_SFTP, "Entering wolfSSH_SFTP_Rename");