r6935: don't do three things at a time :-)
authorSimo Sorce <idra@samba.org>
Sun, 22 May 2005 10:40:54 +0000 (10:40 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:16:59 +0000 (13:16 -0500)
(This used to be commit a97eb63c11be6ce2bb94bca61078b303f15c9b9a)

source4/lib/ldb/modules/skel.c

index 33e5d53cef89f01ce31ea746442068cfb1210d8d..9fb01941c97c4ea01681393ed9b5bbde98d1abe0 100644 (file)
@@ -36,7 +36,8 @@
 #include "ldb/include/ldb.h"
 #include "ldb/include/ldb_private.h"
 
-static struct private_data {
+const struct private_data {
+
        const char *error_string;
 };
 
@@ -133,7 +134,6 @@ struct ldb_module *skel_module_init(struct ldb_context *ldb, const char *options
 
        ctx->ldb = ldb;
        ctx->prev = ctx->next = NULL;
-       ctx->private_data = NULL;
        ctx->ops = &skel_ops;
 
        talloc_set_destructor (ctx, skel_destructor);