From d88a5e1b118843a6ff32f9e0c3941a0220cf7a79 Mon Sep 17 00:00:00 2001 From: Klaas Freitag Date: Fri, 2 Aug 2013 21:03:01 +0200 Subject: [PATCH] Rename progress init function to reasonable name. --- src/csync.c | 2 +- src/csync_propagate.c | 2 +- src/csync_propagate.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/csync.c b/src/csync.c index 8ba778a95..fb810778e 100644 --- a/src/csync.c +++ b/src/csync.c @@ -506,7 +506,7 @@ int csync_propagate(CSYNC *ctx) { } ctx->error_code = CSYNC_ERR_NONE; - rc = csync_init_overall_progress(ctx); + rc = csync_init_progress(ctx); if (rc < 0) { if( ctx->error_code == CSYNC_ERR_NONE ) ctx->error_code = csync_errno_to_csync_error( CSYNC_ERR_PROPAGATE); diff --git a/src/csync_propagate.c b/src/csync_propagate.c index 005c4a18e..462b9bb53 100644 --- a/src/csync_propagate.c +++ b/src/csync_propagate.c @@ -1700,7 +1700,7 @@ int csync_propagate_rename_file(CSYNC *ctx, csync_file_stat_t *st) { } /* Count the files to transmit for both up- and download, ie. in both replicas. */ -int csync_init_overall_progress(CSYNC *ctx) { +int csync_init_progress(CSYNC *ctx) { if (ctx == NULL) { return -1; diff --git a/src/csync_propagate.h b/src/csync_propagate.h index 61e193f05..088a36ab4 100644 --- a/src/csync_propagate.h +++ b/src/csync_propagate.h @@ -67,7 +67,7 @@ int csync_propagate_files(CSYNC *ctx); int csync_propagate_rename_file(CSYNC *ctx, csync_file_stat_t *st); -int csync_init_overall_progress(CSYNC *ctx); +int csync_init_progress(CSYNC *ctx); void csync_finalize_progress(CSYNC *ctx);