From: Andre Noll Date: Sun, 19 Sep 2021 15:08:40 +0000 (+0200) Subject: sync_filter: Silence noisy warning. X-Git-Tag: v0.6.4~8 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=3946a9e571327a8a56ab40196ad867df38b70d27;p=paraslash.git sync_filter: Silence noisy warning. It's perfectly fine to fail here due to EOF, so don't print a log message in this case. --- diff --git a/sync_filter.c b/sync_filter.c index 2ca2a657..f23545ad 100644 --- a/sync_filter.c +++ b/sync_filter.c @@ -365,7 +365,8 @@ success: ret = -E_SYNC_COMPLETE; /* success */ goto out; fail: - PARA_WARNING_LOG("%s\n", para_strerror(-ret)); + if (ret != -E_BTR_EOF) + PARA_WARNING_LOG("%s\n", para_strerror(-ret)); out: sync_close_buddies(ctx); btr_splice_out_node(&fn->btrn);