trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iga...@apache.org
Subject git commit: TS-1690: Build fix for arm/ubuntu/gcc-4.4
Date Mon, 04 Feb 2013 18:35:21 GMT
Updated Branches:
  refs/heads/master 90760ba5a -> f719d5c61


TS-1690: Build fix for arm/ubuntu/gcc-4.4

This time, I got the *right* line.


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

Branch: refs/heads/master
Commit: f719d5c6196c1509459cbd1ebec85849c6da46b9
Parents: 90760ba
Author: Igor Galić <i.galic@brainsware.org>
Authored: Mon Feb 4 19:34:08 2013 +0100
Committer: Igor Galić <i.galic@brainsware.org>
Committed: Mon Feb 4 19:34:08 2013 +0100

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


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/f719d5c6/plugins/experimental/esi/serverIntercept.cc
----------------------------------------------------------------------
diff --git a/plugins/experimental/esi/serverIntercept.cc b/plugins/experimental/esi/serverIntercept.cc
index f83d7a4..ec0b062 100644
--- a/plugins/experimental/esi/serverIntercept.cc
+++ b/plugins/experimental/esi/serverIntercept.cc
@@ -167,8 +167,8 @@ handleRead(SContData *cont_data, bool &read_complete) {
             return false;
           }
           if (endptr - data) {
-            TSDebug(DEBUG_TAG, "[%s] Appending %ld bytes to body", __FUNCTION__, endptr -
data);
-            static_cast<long int>(cont_data->body.append(data, endptr - data));
+            TSDebug(DEBUG_TAG, "[%s] Appending %ld bytes to body", __FUNCTION__, static_cast<long
int>(endptr - data));
+            cont_data->body.append(data, endptr - data);
           }
           cont_data->req_hdr_parsed = true;
         }


Mime
View raw message