git.samba.org
/
mdw
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47adb9d
)
ldb:ldb_dn_explode - remove/unify some duplicate initialisations
author
Matthias Dieter Wallnöfer
<mdw@samba.org>
Sat, 8 Jan 2011 20:59:37 +0000
(21:59 +0100)
committer
Matthias Dieter Wallnöfer
<mdw@samba.org>
Wed, 12 Jan 2011 18:52:19 +0000
(19:52 +0100)
source4/lib/ldb/common/ldb_dn.c
patch
|
blob
|
history
diff --git
a/source4/lib/ldb/common/ldb_dn.c
b/source4/lib/ldb/common/ldb_dn.c
index 1b714c9427f942e63abd121964283e11a5224da0..180ff41ff4efff6dd7382696cb6bb425101e0ac8 100644
(file)
--- a/
source4/lib/ldb/common/ldb_dn.c
+++ b/
source4/lib/ldb/common/ldb_dn.c
@@
-288,8
+288,8
@@
char *ldb_dn_escape_value(TALLOC_CTX *mem_ctx, struct ldb_val value)
static bool ldb_dn_explode(struct ldb_dn *dn)
{
char *p, *ex_name, *ex_value, *data, *d, *dt, *t;
- bool trim =
fals
e;
- bool in_extended =
fals
e;
+ bool trim =
tru
e;
+ bool in_extended =
tru
e;
bool in_ex_name = false;
bool in_ex_value = false;
bool in_attr = false;
@@
-352,10
+352,6
@@
static bool ldb_dn_explode(struct ldb_dn *dn)
}
p = parse_dn;
- in_extended = true;
- in_ex_name = false;
- in_ex_value = false;
- trim = true;
t = NULL;
d = dt = data;