View | Details | Raw Unified | Return to bug 2871
Collapse All | Expand All

(-)a/sftp-client.c (-4 / +3 lines)
Lines 669-675 do_lsreaddir(struct sftp_conn *conn, const char *path, int print_flag, Link Here
669
		**dir = NULL;
669
		**dir = NULL;
670
	}
670
	}
671
671
672
	return status;
672
	return status == SSH2_FX_OK ? 0 : -1;
673
}
673
}
674
674
675
int
675
int
Lines 1019-1025 do_fsync(struct sftp_conn *conn, u_char *handle, u_int handle_len) Link Here
1019
	if (status != SSH2_FX_OK)
1019
	if (status != SSH2_FX_OK)
1020
		error("Couldn't sync file: %s", fx2txt(status));
1020
		error("Couldn't sync file: %s", fx2txt(status));
1021
1021
1022
	return status;
1022
	return status == SSH2_FX_OK ? 0 : -1;
1023
}
1023
}
1024
1024
1025
#ifdef notyet
1025
#ifdef notyet
Lines 1451-1457 do_download(struct sftp_conn *conn, const char *remote_path, Link Here
1451
	sshbuf_free(msg);
1451
	sshbuf_free(msg);
1452
	free(handle);
1452
	free(handle);
1453
1453
1454
	return(status);
1454
	return status == SSH2_FX_OK ? 0 : -1;
1455
}
1455
}
1456
1456
1457
static int
1457
static int
1458
- 

Return to bug 2871