diff options
author | Brian Pane <brianp@apache.org> | 2001-12-02 10:51:19 +0100 |
---|---|---|
committer | Brian Pane <brianp@apache.org> | 2001-12-02 10:51:19 +0100 |
commit | 38eb10579242d94bf80861f77bd3346f8677fb34 (patch) | |
tree | 4cea9fc0e0a7dd818db83b4a4ca138c71e73d653 /server/util_script.c | |
parent | Reduced the number of strlen operations in ap_getword() (diff) | |
download | apache2-38eb10579242d94bf80861f77bd3346f8677fb34.tar.xz apache2-38eb10579242d94bf80861f77bd3346f8677fb34.zip |
Optimization: changed some apr_pstrndup calls to apr_pstrmemdup
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92282 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/util_script.c')
-rw-r--r-- | server/util_script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/util_script.c b/server/util_script.c index 61d85d902c..cc2d772186 100644 --- a/server/util_script.c +++ b/server/util_script.c @@ -356,7 +356,7 @@ static char *original_uri(request_rec *r) ++last; /* end at next whitespace */ } - return apr_pstrndup(r->pool, first, last - first); + return apr_pstrmemdup(r->pool, first, last - first); } AP_DECLARE(void) ap_add_cgi_vars(request_rec *r) |