summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-01-21 18:20:23 +0100
committerJelmer Vernooij <jelmer@samba.org>2009-01-21 18:20:23 +0100
commit1377f28f85118b97b723da6636a865499774b448 (patch)
treeb41b16678034a9992272cee11acd0ce4e38cc8e0 /source3
parentf607ad2e9013bc52d409faf8e628b8c6092f7d61 (diff)
downloadsamba-1377f28f85118b97b723da6636a865499774b448.tar.gz
samba-1377f28f85118b97b723da6636a865499774b448.tar.bz2
samba-1377f28f85118b97b723da6636a865499774b448.zip
Fix warning; base dn is no longer const.
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/ldb/tools/ldbdel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/ldb/tools/ldbdel.c b/source3/lib/ldb/tools/ldbdel.c
index cafe0bd352..c58a82a523 100644
--- a/source3/lib/ldb/tools/ldbdel.c
+++ b/source3/lib/ldb/tools/ldbdel.c
@@ -35,7 +35,7 @@
#include "ldb/include/includes.h"
#include "ldb/tools/cmdline.h"
-static int ldb_delete_recursive(struct ldb_context *ldb, const struct ldb_dn *dn)
+static int ldb_delete_recursive(struct ldb_context *ldb, struct ldb_dn *dn)
{
int ret, i, total=0;
const char *attrs[] = { NULL };
@@ -90,7 +90,7 @@ int main(int argc, const char **argv)
}
for (i=0;i<options->argc;i++) {
- const struct ldb_dn *dn;
+ struct ldb_dn *dn;
dn = ldb_dn_explode(ldb, options->argv[i]);
if (dn == NULL) {