From 23598d56ff7a0bf9cb55606da0ede234e12dbc57 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 2 Aug 2011 17:17:13 +1000 Subject: [PATCH] ldb: rule_id in ldb_parse_tree should be const this allows assignment to a constant string without allocation Pair-Programmed-With: Andrew Bartlett --- lib/ldb/include/ldb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ldb/include/ldb.h b/lib/ldb/include/ldb.h index 1305d8e2e50b..4220ed096fae 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 { -- 2.34.1