r26540: Revert my previous commit after concerns raised by Andrew.
[samba.git] / source4 / lib / ldb / modules / paged_searches.c
index 69ce21936201975710d7c37f82bfb3074cb9ca7f..749858b49b3221ce8e48b647e3177588a284cd9b 100644 (file)
@@ -407,7 +407,7 @@ static int check_supported_paged(struct ldb_context *ldb, void *context,
 
 static int ps_init(struct ldb_module *module)
 {
-       const char *attrs[] = { "supportedControl", NULL };
+       static const char *attrs[] = { "supportedControl", NULL };
        struct private_data *data;
        int ret;
        struct ldb_request *req;