mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 09:30:13 +03:00
Rename progress init function to reasonable name.
This commit is contained in:
parent
d585742609
commit
d88a5e1b11
3 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue