trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bc...@apache.org
Subject [trafficserver] branch master updated: gcc9: set default value for printing debug message
Date Mon, 13 May 2019 18:54:16 GMT
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 5f246c3  gcc9: set default value for printing debug message
5f246c3 is described below

commit 5f246c33d62381f941906c134f2e073bc13812da
Author: Bryan Call <bcall@apache.org>
AuthorDate: Mon May 13 11:02:12 2019 -0700

    gcc9: set default value for printing debug message
---
 plugins/header_rewrite/conditions.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/header_rewrite/conditions.cc b/plugins/header_rewrite/conditions.cc
index 8bb0b7e..92cac5d 100644
--- a/plugins/header_rewrite/conditions.cc
+++ b/plugins/header_rewrite/conditions.cc
@@ -837,7 +837,7 @@ ConditionNow::eval(const Resources &res)
 const char *
 ConditionGeo::get_geo_string(const sockaddr *addr) const
 {
-  const char *ret = nullptr;
+  const char *ret = "(unknown)";
   int v           = 4;
 
   if (addr) {


Mime
View raw message