cosmetics

This commit is contained in:
John Törnblom committed 2026-01-10 21:18:15 +01:00
1 parent e120227195
commit 1917ea7d12
1 file changed
+3 -3
+3 -3
View File
@@ -135,10 +135,10 @@ ftp_data_read(ftp_env_t *env, void *buf, size_t count) {
**/
int
ftp_data_close(ftp_env_t *env) {
if(!close(env->data_fd)) {
return 0;
if(close(env->data_fd)) {
return -1;
}
return -1;
return 0;
}