]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
The iterator data is not volatile, data aught to be const
authorWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 9 Feb 2010 04:28:35 +0000 (04:28 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 9 Feb 2010 04:28:35 +0000 (04:28 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@907929 13f79535-47bb-0310-9956-ffa450edef68

include/ap_socache.h

index 2cafd8cbdeb39fb7f250d16a8e9fc44185963da2..984d919b54012770198124ab1f7b5ad8a4da6dbf 100644 (file)
@@ -74,7 +74,7 @@ typedef apr_status_t (*ap_socache_iterator_t)(ap_socache_instance_t *instance,
                                               server_rec *s,
                                               const unsigned char *id,
                                               unsigned int idlen,
-                                              unsigned char *data,
+                                              const unsigned char *data,
                                               unsigned int datalen,
                                               apr_pool_t *pool);