1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-06 09:01:14 +03:00
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1533170 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jim Jagielski
2013-10-17 17:21:37 +00:00
parent 0b4520d54c
commit b71b312095

View File

@@ -102,7 +102,7 @@ PROXY_DECLARE(apr_status_t) ap_proxy_strncpy(char *dst, const char *src,
thelen = thenil - dst;
/* Assume the typical case is smaller copying into bigger
so we have a fast return */
if ((thelen < dlen-1) || (src[thelen] == '\0') {
if ((thelen < dlen-1) || (src[thelen] == '\0')) {
return APR_SUCCESS;
}
/* XXX: APR_ENOSPACE would be better */