]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
fix doc for ap_pregsub_ex() return code
authorJeff Trawick <trawick@apache.org>
Fri, 21 Jun 2013 16:45:51 +0000 (16:45 +0000)
committerJeff Trawick <trawick@apache.org>
Fri, 21 Jun 2013 16:45:51 +0000 (16:45 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1495501 13f79535-47bb-0310-9956-ffa450edef68

include/httpd.h

index 5364a5642957ebfb9a70a08cd84ab698f50129f4..658780c5ef211fa81cdf5bd45a9bf1fecada841a 100644 (file)
@@ -1921,7 +1921,7 @@ AP_DECLARE(char *) ap_pregsub(apr_pool_t *p, const char *input,
  * @param nmatch the nmatch returned from ap_pregex
  * @param pmatch the pmatch array returned from ap_pregex
  * @param maxlen the maximum string length to return, 0 for unlimited
- * @return The substituted string, or NULL on error
+ * @return APR_SUCCESS if successful, APR_ENOMEM or other error code otherwise.
  */
 AP_DECLARE(apr_status_t) ap_pregsub_ex(apr_pool_t *p, char **result,
                                        const char *input, const char *source,