From 4831dd9cd926f0a1f85bb43f42c00074265a6027 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 19 May 2008 18:07:39 +0200 Subject: [PATCH] Use new function names in csync.c. --- src/csync.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/csync.c b/src/csync.c index 57a110bd1..f0e7da5de 100644 --- a/src/csync.c +++ b/src/csync.c @@ -303,7 +303,7 @@ int csync_update(CSYNC *ctx) { CSYNC_LOG(CSYNC_LOG_PRIORITY_DEBUG, "Update detection for local replica took %.2f seconds walking %lu files.", - csync_secdiff(finish, start), c_rbtree_size(ctx->local.tree)); + c_secdiff(finish, start), c_rbtree_size(ctx->local.tree)); csync_memstat_check(); if (rc < 0) { @@ -321,7 +321,7 @@ int csync_update(CSYNC *ctx) { CSYNC_LOG(CSYNC_LOG_PRIORITY_DEBUG, "Update detection for remote replica took %.2f seconds walking %lu files.", - csync_secdiff(finish, start), c_rbtree_size(ctx->remote.tree)); + c_secdiff(finish, start), c_rbtree_size(ctx->remote.tree)); csync_memstat_check(); if (rc < 0) { @@ -354,7 +354,7 @@ int csync_reconcile(CSYNC *ctx) { CSYNC_LOG(CSYNC_LOG_PRIORITY_DEBUG, "Reconciliation for local replica took %.2f seconds visiting %llu files.", - csync_secdiff(finish, start), c_rbtree_size(ctx->local.tree)); + c_secdiff(finish, start), c_rbtree_size(ctx->local.tree)); if (rc < 0) { return -1; @@ -372,7 +372,7 @@ int csync_reconcile(CSYNC *ctx) { CSYNC_LOG(CSYNC_LOG_PRIORITY_DEBUG, "Reconciliation for remote replica took %.2f seconds visiting %llu files.", - csync_secdiff(finish, start), c_rbtree_size(ctx->remote.tree)); + c_secdiff(finish, start), c_rbtree_size(ctx->remote.tree)); if (rc < 0) { return -1; @@ -404,7 +404,7 @@ int csync_propagate(CSYNC *ctx) { CSYNC_LOG(CSYNC_LOG_PRIORITY_DEBUG, "Propagation for local replica took %.2f seconds visiting %llu files.", - csync_secdiff(finish, start), c_rbtree_size(ctx->local.tree)); + c_secdiff(finish, start), c_rbtree_size(ctx->local.tree)); if (rc < 0) { return -1; @@ -422,7 +422,7 @@ int csync_propagate(CSYNC *ctx) { CSYNC_LOG(CSYNC_LOG_PRIORITY_DEBUG, "Propagation for remote replica took %.2f seconds visiting %llu files.", - csync_secdiff(finish, start), c_rbtree_size(ctx->remote.tree)); + c_secdiff(finish, start), c_rbtree_size(ctx->remote.tree)); if (rc < 0) { return -1; @@ -461,7 +461,7 @@ int csync_destroy(CSYNC *ctx) { clock_gettime(CLOCK_REALTIME, &finish); CSYNC_LOG(CSYNC_LOG_PRIORITY_DEBUG, "Writing the journal to disk took %.2f seconds", - csync_secdiff(finish, start)); + c_secdiff(finish, start)); } else { CSYNC_LOG(CSYNC_LOG_PRIORITY_ERROR, "Unable to write journal: %s", strerror(errno));