aboutsummaryrefslogtreecommitdiffstats
path: root/encoding
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2015-08-09 04:32:54 +0000
committerPeter Wemm <peter@FreeBSD.org>2015-08-09 04:32:54 +0000
commitdf84d2567179e9d8867957c089683d753016bd75 (patch)
tree22f2e9932cfc8bcfa6f728a311818f18a1f1d80d /encoding
parentbc9ddba9ef9abe23eadcdb51b2ce814c00c00639 (diff)
downloadsrc-df84d2567179e9d8867957c089683d753016bd75.tar.gz
src-df84d2567179e9d8867957c089683d753016bd75.zip
Vendor import apr-1.5.2vendor/apr/apr-1.5.2
Notes
Notes: svn path=/vendor/apr/dist/; revision=286497 svn path=/vendor/apr/apr-1.5.2/; revision=286498; tag=vendor/apr/apr-1.5.2
Diffstat (limited to 'encoding')
-rw-r--r--encoding/apr_escape.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/encoding/apr_escape.c b/encoding/apr_escape.c
index 2bcfec418fe7..702a94130089 100644
--- a/encoding/apr_escape.c
+++ b/encoding/apr_escape.c
@@ -436,6 +436,8 @@ APR_DECLARE(apr_status_t) apr_escape_path(char *escaped, const char *path,
while ((c = *s) && slen) {
if (TEST_CHAR(c, T_OS_ESCAPE_PATH)) {
d = c2x(c, '%', d);
+ size += 2;
+ found = 1;
}
else {
*d++ = c;