]> granicus.if.org Git - apache/commit
apr_pcalloc can be turned into apr_palloc (the allocated memory is fully initialized...
authorChristophe Jaillet <jailletc36@apache.org>
Tue, 12 Jun 2018 17:13:27 +0000 (17:13 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Tue, 12 Jun 2018 17:13:27 +0000 (17:13 +0000)
commita9848164c870e1aaa3598081d1e8e07e8556fa11
treea1490f4b608c74c79f2e8ad156f194b8c1075002
parenta3a4a2c4c248ce85704714fe3b61678602edf7b7
apr_pcalloc can be turned into apr_palloc (the allocated memory is fully initialized by the subsequent memcpy/strcpy) and '(int)strlen(p)' can be replaced by 'plen - 1' to save some cycles.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1833415 13f79535-47bb-0310-9956-ffa450edef68
modules/http2/h2_proxy_util.c