s3-dbwrap_ctdb: fix the build.
authorGünther Deschner <gd@samba.org>
Wed, 12 Oct 2011 09:48:55 +0000 (11:48 +0200)
committerGünther Deschner <gd@samba.org>
Wed, 12 Oct 2011 13:25:56 +0000 (15:25 +0200)
Michael, please check.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Oct 12 15:25:56 CEST 2011 on sn-devel-104

source3/lib/dbwrap/dbwrap_ctdb.c

index 85ae5c1c6e502b4ebd047583e2a7e7524cb2172a..ca43dc1b5837ea8adbaec2f19aa2b9bcfab294ec 100644 (file)
@@ -22,6 +22,8 @@
 #include "system/filesys.h"
 #include "lib/util/tdb_wrap.h"
 #include "util_tdb.h"
+#include "dbwrap/dbwrap_rbt.h"
+
 #ifdef CLUSTER_SUPPORT
 
 /*
@@ -1313,7 +1315,8 @@ static int db_ctdb_traverse(struct db_context *db,
                        }
                        status = dbwrap_traverse(newkeys,
                                                 traverse_persistent_callback_dbwrap,
-                                                &state);
+                                                &state,
+                                                NULL);
                        ret = NT_STATUS_IS_OK(status) ? 0 : -1;
                        talloc_free(newkeys);
                }