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 2019/05/13 18:54:16 UTC

[trafficserver] branch master updated: gcc9: set default value for printing debug message

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 <bc...@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) {