dbwrap: fix comment in code leading to wrong function parameter
authorSwen Schillig <swen@linux.ibm.com>
Mon, 30 Mar 2020 10:44:59 +0000 (12:44 +0200)
committerMartin Schwenke <martins@samba.org>
Thu, 2 Apr 2020 09:51:39 +0000 (09:51 +0000)
Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
source3/lib/dbwrap/dbwrap_ctdb.c

index 84ea015f3853acfd0908271386adac7447bea250..188021ab202b7eeae0713a9ac979632a2363dc3c 100644 (file)
@@ -947,8 +947,8 @@ static NTSTATUS db_ctdb_send_schedule_for_deletion(struct db_record *rec)
                                  crec->ctdb_ctx->db_id,
                                  CTDB_CTRL_FLAG_NOREPLY, /* flags */
                                  indata,
+                                 NULL, /* mem_ctx */
                                  NULL, /* outdata */
-                                 NULL, /* errmsg */
                                  &cstatus);
        talloc_free(indata.dptr);