1
0
mirror of https://github.com/apache/httpd.git synced 2025-07-30 20:03:10 +03:00

No need to test for NULL, apr_pstrndup already handles it.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1559351 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Christophe Jaillet
2014-01-18 15:07:38 +00:00
parent cc94935e7e
commit 4719522d98

View File

@ -205,5 +205,5 @@ AP_DECLARE(char*) ap_rxplus_pmatch(apr_pool_t *pool, ap_rxplus_t *rx, int n)
int len;
const char *match;
ap_rxplus_match(rx, n, &len, &match);
return (match != NULL) ? apr_pstrndup(pool, match, len) : NULL;
return apr_pstrndup(pool, match, len);
}