From 40c5361d41b9f5d17f3ae2f340893c4942c06472 Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Tue, 5 Sep 2017 16:34:27 +1000 Subject: ctdb-protocol: Fix CID 1417430 Signed-off-by: Amitay Isaacs Reviewed-by: Martin Schwenke --- ctdb/protocol/protocol_control.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ctdb/protocol') diff --git a/ctdb/protocol/protocol_control.c b/ctdb/protocol/protocol_control.c index aa6e38f7a3f..f76a1af7228 100644 --- a/ctdb/protocol/protocol_control.c +++ b/ctdb/protocol/protocol_control.c @@ -1659,8 +1659,8 @@ static int ctdb_reply_control_data_pull(uint8_t *buf, size_t buflen, break; case CTDB_CONTROL_TRY_DELETE_RECORDS: - ctdb_rec_buffer_pull(buf, buflen, mem_ctx, - &cd->data.recbuf, &np); + ret = ctdb_rec_buffer_pull(buf, buflen, mem_ctx, + &cd->data.recbuf, &np); break; case CTDB_CONTROL_GET_CAPABILITIES: -- cgit v1.2.1