summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-08-02 17:17:13 +1000
committerAndrew Tridgell <tridge@samba.org>2011-08-04 16:17:25 +1000
commit23598d56ff7a0bf9cb55606da0ede234e12dbc57 (patch)
tree673b557fec6f42ce73f692613cfbe05528190445 /lib
parent849d042dd88e8e7de2748524b054b350af06a859 (diff)
downloadsamba-23598d56ff7a0bf9cb55606da0ede234e12dbc57.tar.gz
samba-23598d56ff7a0bf9cb55606da0ede234e12dbc57.tar.bz2
samba-23598d56ff7a0bf9cb55606da0ede234e12dbc57.zip
ldb: rule_id in ldb_parse_tree should be const
this allows assignment to a constant string without allocation Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/ldb/include/ldb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ldb/include/ldb.h b/lib/ldb/include/ldb.h
index 1305d8e2e5..4220ed096f 100644
--- 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;
+ const char *rule_id;
struct ldb_val value;
} extended;
struct {