mirror of
https://github.com/wiiu-env/ftpiiu_plugin.git
synced 2024-11-04 20:15:09 +01:00
Merge pull request #4 from WinterMute/ftp_session_write_file_fix
fix check for 0 bytes written
This commit is contained in:
commit
b9916097b9
@ -524,7 +524,7 @@ ftp_session_write_file(ftp_session_t *session)
|
||||
console_print("FSFILE_Write: 0x%08X\n", (unsigned int)ret);
|
||||
return -1;
|
||||
}
|
||||
else if(ret == 0)
|
||||
else if(bytes == 0)
|
||||
console_print("FSFILE_Write: wrote 0 bytes\n");
|
||||
|
||||
/* adjust file position */
|
||||
|
Loading…
Reference in New Issue
Block a user