Rename progress init function to reasonable name.

This commit is contained in:
Klaas Freitag 2013-08-02 21:03:01 +02:00
parent d585742609
commit d88a5e1b11
3 changed files with 3 additions and 3 deletions

View file

@ -506,7 +506,7 @@ int csync_propagate(CSYNC *ctx) {
} }
ctx->error_code = CSYNC_ERR_NONE; ctx->error_code = CSYNC_ERR_NONE;
rc = csync_init_overall_progress(ctx); rc = csync_init_progress(ctx);
if (rc < 0) { if (rc < 0) {
if( ctx->error_code == CSYNC_ERR_NONE ) if( ctx->error_code == CSYNC_ERR_NONE )
ctx->error_code = csync_errno_to_csync_error( CSYNC_ERR_PROPAGATE); ctx->error_code = csync_errno_to_csync_error( CSYNC_ERR_PROPAGATE);

View file

@ -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. */ /* 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) { if (ctx == NULL) {
return -1; return -1;

View file

@ -67,7 +67,7 @@ int csync_propagate_files(CSYNC *ctx);
int csync_propagate_rename_file(CSYNC *ctx, csync_file_stat_t *st); 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); void csync_finalize_progress(CSYNC *ctx);