mirror of
https://github.com/wiiu-env/ftpiiu_plugin.git
synced 2024-11-17 18:29:19 +01:00
fix check for 0 bytes written
This commit is contained in:
parent
2c2bf5c8ab
commit
1dd16459ac
@ -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