You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ig...@apache.org on 2013/03/27 00:47:37 UTC

git commit: TS-1781: Make clang happy and esi compile

Updated Branches:
  refs/heads/master 7b6a4dd10 -> 4e53792f2


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/master
Commit: 4e53792f2740de507b6fd51f0d34f6bf4f780852
Parents: 7b6a4dd
Author: Igor Galić <i....@brainsware.org>
Authored: Wed Mar 27 00:47:21 2013 +0100
Committer: Igor Galić <i....@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;