You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2014/01/03 18:18:44 UTC

[13/50] git commit: TS-2117 make hipes plugin build

TS-2117 make hipes plugin build


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

Branch: refs/heads/5.0.x
Commit: 65630cd93849ebfaa66f68c757770ac7a6dd6196
Parents: e7a1b8f
Author: Kit Chan <ki...@apache.org>
Authored: Thu Dec 26 08:59:28 2013 -0800
Committer: Kit Chan <ki...@apache.org>
Committed: Thu Dec 26 08:59:28 2013 -0800

----------------------------------------------------------------------
 plugins/experimental/hipes/hipes.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/65630cd9/plugins/experimental/hipes/hipes.cc
----------------------------------------------------------------------
diff --git a/plugins/experimental/hipes/hipes.cc b/plugins/experimental/hipes/hipes.cc
index 2f0cafa..03908b7 100644
--- a/plugins/experimental/hipes/hipes.cc
+++ b/plugins/experimental/hipes/hipes.cc
@@ -326,7 +326,7 @@ TSRemapDoRemap(void* ih, TSHttpTxn rh, TSRemapRequestInfo *rri)
     TSDebug(PLUGIN_NAME, "Escaped service URL is %s(%d)", svc_url_esc, len);
 
     // Prepare the new query arguments, make sure it fits
-    if (( (slash - param) + 2 + h_conf->url_param.size() + len) > MAX_PATH_SIZE) {
+    if (( (slash - param) + 2 + (int) h_conf->url_param.size() + len) > MAX_PATH_SIZE) {
       TSHttpTxnSetHttpRetStatus(rh, TS_HTTP_STATUS_REQUEST_URI_TOO_LONG);
       return TSREMAP_NO_REMAP;
     }