vacuum: fix indentation in ctdb_process_delete_list()
authorMichael Adam <obnox@samba.org>
Sat, 5 Jan 2013 00:19:06 +0000 (01:19 +0100)
committerMichael Adam <obnox@samba.org>
Fri, 26 Apr 2013 14:18:04 +0000 (16:18 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-By: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit 59a887e12469266e514ad7d4e34810e7ea888ba3)

server/ctdb_vacuum.c

index 07595e9029577c1741510f2f1b5f711306442b44..c39dfaaf2d4cfb2e576d26bc996d9cc853a694eb 100644 (file)
@@ -721,8 +721,8 @@ static int ctdb_process_delete_list(struct ctdb_db_context *ctdb_db,
                return -1;
        }
        recs->records = (struct ctdb_marshall_buffer *)
-               talloc_zero_size(vdata,
-                           offsetof(struct ctdb_marshall_buffer, data));
+               talloc_zero_size(recs,
+                                offsetof(struct ctdb_marshall_buffer, data));
        if (recs->records == NULL) {
                DEBUG(DEBUG_ERR,(__location__ " Out of memory\n"));
                ret = -1;