]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/aclparse.c
don't return entry if requested attr is not present (ITS#5650)
[openldap] / servers / slapd / aclparse.c
index 37db9afd7f80fbdbaf8fed5496b23ed83f823ab0..29910379d373121ecf287762f5b65f8e2ba78692 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2007 The OpenLDAP Foundation.
+ * Copyright 1998-2008 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -39,7 +39,7 @@
 #include "lutil.h"
 
 static const char style_base[] = "base";
-char *style_strings[] = {
+const char *style_strings[] = {
        "regex",
        "expand",
        "exact",