From 82c4f69375d82c5fb50d3e280bbe25d58c116519 Mon Sep 17 00:00:00 2001 From: Evgeniy Polyakov Date: Mon, 26 Nov 2012 18:02:02 +0400 Subject: [PATCH] dnet_remove_object_raw() must return positive number of transactions sent --- library/dnet_common.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/library/dnet_common.c b/library/dnet_common.c index c6e8b4e..b7afd76 100644 --- a/library/dnet_common.c +++ b/library/dnet_common.c @@ -1700,8 +1700,6 @@ static int dnet_remove_object_raw(struct dnet_session *s, struct dnet_id *id, err = dnet_trans_create_send_all(s, &ctl); if (err == 0) err = -ECONNRESET; - if (err > 0) - err = 0; return err; } -- 2.11.4.GIT