summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ctdb/protocol/protocol_control.c4
1 files changed, 2 insertions, 2 deletions
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: