diff options
author | Amitay Isaacs <amitay@gmail.com> | 2017-09-05 16:34:27 +1000 |
---|---|---|
committer | Martin Schwenke <martins@samba.org> | 2017-09-05 11:20:15 +0200 |
commit | 40c5361d41b9f5d17f3ae2f340893c4942c06472 (patch) | |
tree | 652028928eb4edf35bd1a677ffaeabbb94855103 /ctdb/protocol | |
parent | b74599b43dbb7df10ba0a1979a334e6b94878bf3 (diff) | |
download | samba-40c5361d41b9f5d17f3ae2f340893c4942c06472.tar.gz |
ctdb-protocol: Fix CID 1417430
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb/protocol')
-rw-r--r-- | ctdb/protocol/protocol_control.c | 4 |
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: |