git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f607ad2
)
Fix warning; base dn is no longer const.
author
Jelmer Vernooij
<jelmer@samba.org>
Wed, 21 Jan 2009 17:20:23 +0000
(18:20 +0100)
committer
Jelmer Vernooij
<jelmer@samba.org>
Wed, 21 Jan 2009 17:20:23 +0000
(18:20 +0100)
source3/lib/ldb/tools/ldbdel.c
patch
|
blob
|
history
diff --git
a/source3/lib/ldb/tools/ldbdel.c
b/source3/lib/ldb/tools/ldbdel.c
index cafe0bd352aa4b1141a88ce1d3f967b733cb979c..c58a82a523d3c5fb10cfe3dd333633156e9a808d 100644
(file)
--- 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) {