1
0
mirror of https://github.com/apache/httpd.git synced 2025-11-05 05:30:39 +03:00

Make it clear that '_' is a possible char and accepted

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1060802 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jim Jagielski
2011-01-19 13:08:08 +00:00
parent ceb1766d2d
commit 334ae2f5a2
4 changed files with 10 additions and 10 deletions

View File

@@ -2256,7 +2256,7 @@ AP_DECLARE_NONSTD(apr_status_t) ap_pool_cleanup_set_null(void *data_)
return APR_SUCCESS;
}
AP_DECLARE(apr_status_t) ap_str2alnum(const char *src, char *dest) {
AP_DECLARE(apr_status_t) ap_str2_alnum(const char *src, char *dest) {
for ( ; *src; src++, dest++)
{
@@ -2272,7 +2272,7 @@ AP_DECLARE(apr_status_t) ap_str2alnum(const char *src, char *dest) {
}
AP_DECLARE(apr_status_t) ap_pstr2alnum(apr_pool_t *p, const char *src, char **dest)
AP_DECLARE(apr_status_t) ap_pstr2_alnum(apr_pool_t *p, const char *src, char **dest)
{
*dest = apr_palloc(p, strlen(src)+1);
if (!*dest)