trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject [45/51] git commit: TS-1781: Make clang happy and esi compile
Date Sun, 31 Mar 2013 01:15:04 GMT
TS-1781: Make clang happy and esi compile


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

Branch: refs/heads/3.3.x
Commit: 4e53792f2740de507b6fd51f0d34f6bf4f780852
Parents: 7b6a4dd
Author: Igor Galić <i.galic@brainsware.org>
Authored: Wed Mar 27 00:47:21 2013 +0100
Committer: Igor Galić <i.galic@brainsware.org>
Committed: Wed Mar 27 00:47:21 2013 +0100

----------------------------------------------------------------------
 plugins/experimental/esi/lib/EsiProcessor.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/4e53792f/plugins/experimental/esi/lib/EsiProcessor.cc
----------------------------------------------------------------------
diff --git a/plugins/experimental/esi/lib/EsiProcessor.cc b/plugins/experimental/esi/lib/EsiProcessor.cc
index ed4868b..96a647e 100644
--- a/plugins/experimental/esi/lib/EsiProcessor.cc
+++ b/plugins/experimental/esi/lib/EsiProcessor.cc
@@ -422,7 +422,7 @@ EsiProcessor::flush(string &data, int &overall_len) {
           const Attribute &url = (*node_iter).attr_list.front();              
           string raw_url(url.value, url.value_len);
           attemptUrls.push_back(_expression.expand(raw_url));
-        if (!_getIncludeStatus(*node_iter) == STATUS_ERROR) {
+        if (_getIncludeStatus(*node_iter) != STATUS_DATA_AVAILABLE) {
           attempt_succeeded = false;
           _errorLog("[%s] attempt section errored; due to url [%s]", __FUNCTION__, raw_url.c_str());
           break;


Mime
View raw message