You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by am...@apache.org on 2012/03/23 21:53:00 UTC

git commit: Be a little more cautious in processing config settings.

Updated Branches:
  refs/heads/master 225f26fa3 -> 7460513ed


Be a little more cautious in processing config settings.


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

Branch: refs/heads/master
Commit: 7460513edbed29e8df4aa17982a1729f64f59dbf
Parents: 225f26f
Author: Alan M. Carroll <am...@network-geographics.com>
Authored: Fri Mar 23 15:52:10 2012 -0500
Committer: Alan M. Carroll <am...@network-geographics.com>
Committed: Fri Mar 23 15:52:42 2012 -0500

----------------------------------------------------------------------
 lib/records/RecHttp.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/7460513e/lib/records/RecHttp.cc
----------------------------------------------------------------------
diff --git a/lib/records/RecHttp.cc b/lib/records/RecHttp.cc
index 628d4fb..9bc48a2 100644
--- a/lib/records/RecHttp.cc
+++ b/lib/records/RecHttp.cc
@@ -135,7 +135,7 @@ HttpProxyPort::loadConfig(Vec<self>& entries) {
 
   // Do current style port configuration first.
   text = REC_readString(PORTS_CONFIG_NAME, &found_p);
-  if (found_p) self::loadValue(entries, text);
+  if (found_p && text) self::loadValue(entries, text);
   ats_free(text);
 
   // Check old style single port.