s4:ldb_sort - Add some more "const"
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Sat, 17 Oct 2009 20:30:22 +0000 (22:30 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 21 Oct 2009 23:02:43 +0000 (10:02 +1100)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
source4/lib/ldb/modules/sort.c

index f0aea770184497822c88437a273f1695d127968a..5d1431d7394b09a603a0cc5d087033cfda101c19 100644 (file)
@@ -44,8 +44,8 @@ struct opaque {
 struct sort_context {
        struct ldb_module *module;
 
-       char *attributeName;
-       char *orderingRule;
+       const char *attributeName;
+       const char *orderingRule;
        int reverse;
 
        struct ldb_request *req;