From cfb752e8e4beda2778f50c9bd8052480c9ab9c19 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Fri, 21 Jun 2013 16:45:51 +0000 Subject: [PATCH] fix doc for ap_pregsub_ex() return code git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1495501 13f79535-47bb-0310-9956-ffa450edef68 --- include/httpd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/httpd.h b/include/httpd.h index 5364a56429..658780c5ef 100644 --- a/include/httpd.h +++ b/include/httpd.h @@ -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,