git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
849d042
)
ldb: rule_id in ldb_parse_tree should be const
author
Andrew Tridgell
<tridge@samba.org>
Tue, 2 Aug 2011 07:17:13 +0000
(17:17 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Thu, 4 Aug 2011 06:17:25 +0000
(16:17 +1000)
this allows assignment to a constant string without allocation
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
lib/ldb/include/ldb.h
patch
|
blob
|
history
diff --git
a/lib/ldb/include/ldb.h
b/lib/ldb/include/ldb.h
index 1305d8e2e50bf794a5a1440ac91ad1b5a8590eca..4220ed096fae6178d0c5c308eb938cced3dcc636 100644
(file)
--- a/
lib/ldb/include/ldb.h
+++ b/
lib/ldb/include/ldb.h
@@
-305,7
+305,7
@@
struct ldb_parse_tree {
struct {
const char *attr;
int dnAttributes;
- char *rule_id;
+ c
onst c
har *rule_id;
struct ldb_val value;
} extended;
struct {