mirror of
https://github.com/wiiu-env/ftpiiu_plugin.git
synced 2024-12-23 11:21:49 +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);
|
console_print("FSFILE_Write: 0x%08X\n", (unsigned int)ret);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
else if(ret == 0)
|
else if(bytes == 0)
|
||||||
console_print("FSFILE_Write: wrote 0 bytes\n");
|
console_print("FSFILE_Write: wrote 0 bytes\n");
|
||||||
|
|
||||||
/* adjust file position */
|
/* adjust file position */
|
||||||
|
Loading…
Reference in New Issue
Block a user