You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2017/05/25 01:18:05 UTC

[trafficserver] branch master updated: Fixed problem with url_len sometimes not being initialized

This is an automated email from the ASF dual-hosted git repository.

bcall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

The following commit(s) were added to refs/heads/master by this push:
       new  75a9f61   Fixed problem with url_len sometimes not being initialized
75a9f61 is described below

commit 75a9f61677d5d4baedf12b5437684ea0007d4365
Author: Bryan Call <bc...@apache.org>
AuthorDate: Wed May 24 17:06:58 2017 -0700

    Fixed problem with url_len sometimes not being initialized
---
 tools/jtest/jtest.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/jtest/jtest.cc b/tools/jtest/jtest.cc
index 7b2c88c..3bde9e1 100644
--- a/tools/jtest/jtest.cc
+++ b/tools/jtest/jtest.cc
@@ -749,7 +749,7 @@ send_response(int sock)
   char *url_start = nullptr;
   char *url_end   = nullptr;
   int err         = 0, towrite;
-  int url_len;
+  int url_len     = 0;
 
   if (fd[sock].req_pos >= 0) {
     char header[1024];

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].