Removed a stat call that is just for a file size check.

This commit is contained in:
Klaas Freitag 2012-03-29 20:06:38 +02:00
parent 3fd80bb0e2
commit cea1d4fd47

View file

@ -273,7 +273,7 @@ static int _csync_push_file(CSYNC *ctx, csync_file_stat_t *st) {
rc = -1;
goto out;
}
#if 0
if (csync_vio_stat(ctx, turi, tstat) < 0) {
switch (errno) {
case ENOMEM:
@ -298,7 +298,7 @@ static int _csync_push_file(CSYNC *ctx, csync_file_stat_t *st) {
rc = 1;
goto out;
}
#endif
/* override original file */
ctx->replica = drep;
if (csync_vio_rename(ctx, turi, duri) < 0) {