summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2011-01-21 09:03:52 +0000
committerStefan Fritsch <sf@apache.org>2011-01-21 09:03:52 +0000
commit6e108fd44fabde751fdd7dd566d8d5e14504f849 (patch)
tree7374b500b44bb923df88351d207e4cb2c46c1a1c /include
parentde9cd4492132ab55d9c3ac68dba258dcd3785d03 (diff)
downloadhttpd-6e108fd44fabde751fdd7dd566d8d5e14504f849.tar.gz
Make ap_pstr2_alnum accept const char dest
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1061695 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r--include/httpd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/httpd.h b/include/httpd.h
index 146f3b9756..224b38afae 100644
--- a/include/httpd.h
+++ b/include/httpd.h
@@ -1839,7 +1839,8 @@ AP_DECLARE(int) ap_request_has_body(request_rec *r);
* @param dest cleaned up, allocated string
* @return Status value indicating whether the cleaning was successful or not.
*/
-AP_DECLARE(apr_status_t) ap_pstr2_alnum(apr_pool_t *p, const char *src, char **dest);
+AP_DECLARE(apr_status_t) ap_pstr2_alnum(apr_pool_t *p, const char *src,
+ const char **dest);
/**
* Cleanup a string (mainly to be filesystem safe)