You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2012/11/07 21:42:27 UTC

[2/2] git commit: TS-1565 TSStringPercentEncode returns one character short in no-op case (no encoding needed). Author: Thach Tran

TS-1565 TSStringPercentEncode returns one character short in no-op case
(no encoding needed). Author: Thach Tran <tranngocthachs at gmail dot com>


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/951ce481
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/951ce481
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/951ce481

Branch: refs/heads/master
Commit: 951ce481ddaa8c7e43f8fe69009c46d1d17185e2
Parents: bed634b
Author: Leif Hedstrom <zw...@apache.org>
Authored: Wed Nov 7 13:29:10 2012 -0700
Committer: Leif Hedstrom <zw...@apache.org>
Committed: Wed Nov 7 13:29:10 2012 -0700

----------------------------------------------------------------------
 proxy/logging/LogUtils.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/951ce481/proxy/logging/LogUtils.cc
----------------------------------------------------------------------
diff --git a/proxy/logging/LogUtils.cc b/proxy/logging/LogUtils.cc
index d421a92..f8e3376 100644
--- a/proxy/logging/LogUtils.cc
+++ b/proxy/logging/LogUtils.cc
@@ -347,7 +347,7 @@ LogUtils::escapify_url(Arena *arena, char *url, size_t len_in, int *len_out, cha
     //
     *len_out = len_in;
     if (dst)
-      ink_strlcpy(dst, url, len_in);
+      ink_strlcpy(dst, url, dst_size);
     return url;
   }