diff options
author | Stefan Fritsch <sf@apache.org> | 2011-10-27 22:15:36 +0200 |
---|---|---|
committer | Stefan Fritsch <sf@apache.org> | 2011-10-27 22:15:36 +0200 |
commit | 308d06fd8dffbd0ce8670d1e82fa6ba23d33b493 (patch) | |
tree | 26ae90ac5acbf396c106605677822613a8d813e0 /include/util_varbuf.h | |
parent | XSLT transformation (diff) | |
download | apache2-308d06fd8dffbd0ce8670d1e82fa6ba23d33b493.tar.xz apache2-308d06fd8dffbd0ce8670d1e82fa6ba23d33b493.zip |
Improve handling of maxlen = APR_SIZE_MAX, noticed by Jim.
Use apr_pregsub_ex() and maxlen = 0 for unlimited in mod_substitute.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1189985 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/util_varbuf.h')
-rw-r--r-- | include/util_varbuf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/util_varbuf.h b/include/util_varbuf.h index 64637f3b4c..28fb867203 100644 --- a/include/util_varbuf.h +++ b/include/util_varbuf.h @@ -135,7 +135,7 @@ AP_DECLARE(char *) ap_varbuf_pdup(apr_pool_t *p, struct ap_varbuf *vb, * @param source The string that was originally matched to the regex * @param nmatch the nmatch returned from ap_pregex * @param pmatch the pmatch array returned from ap_pregex - * @param maxlen the maximum string length to append to vb + * @param maxlen the maximum string length to append to vb, 0 for unlimited * @return APR_SUCCESS if successful * @note Just like ap_pregsub(), this function does not copy the part of * *source before the matching part (i.e. the first pmatch[0].rm_so |