trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sji...@apache.org
Subject svn commit: r929862 - in /incubator/trafficserver/traffic/trunk/proxy: InkAPI.cc api/include/ts.h
Date Thu, 01 Apr 2010 06:43:24 GMT
Author: sjiang
Date: Thu Apr  1 06:43:23 2010
New Revision: 929862

URL: http://svn.apache.org/viewvc?rev=929862&view=rev
Log:
TS-283: bool -> int for C API

Modified:
    incubator/trafficserver/traffic/trunk/proxy/InkAPI.cc
    incubator/trafficserver/traffic/trunk/proxy/api/include/ts.h

Modified: incubator/trafficserver/traffic/trunk/proxy/InkAPI.cc
URL: http://svn.apache.org/viewvc/incubator/trafficserver/traffic/trunk/proxy/InkAPI.cc?rev=929862&r1=929861&r2=929862&view=diff
==============================================================================
--- incubator/trafficserver/traffic/trunk/proxy/InkAPI.cc (original)
+++ incubator/trafficserver/traffic/trunk/proxy/InkAPI.cc Thu Apr  1 06:43:23 2010
@@ -6176,7 +6176,7 @@ INKHttpTxnGetMaxHttpRetBodySize(void)
 }
 
 INKReturnCode
-INKHttpTxnSetHttpRetBody(INKHttpTxn txnp, const char *body_msg, bool plain_msg_flag)
+INKHttpTxnSetHttpRetBody(INKHttpTxn txnp, const char *body_msg, int plain_msg_flag)
 {
   if (sdk_sanity_check_txn(txnp) == INK_SUCCESS) {
     HttpSM *sm = (HttpSM *) txnp;

Modified: incubator/trafficserver/traffic/trunk/proxy/api/include/ts.h
URL: http://svn.apache.org/viewvc/incubator/trafficserver/traffic/trunk/proxy/api/include/ts.h?rev=929862&r1=929861&r2=929862&view=diff
==============================================================================
--- incubator/trafficserver/traffic/trunk/proxy/api/include/ts.h (original)
+++ incubator/trafficserver/traffic/trunk/proxy/api/include/ts.h Thu Apr  1 06:43:23 2010
@@ -2028,7 +2028,7 @@ extern "C"
   inkapi INKReturnCode INKHttpTxnGetArg(INKHttpTxn txnp, int arg_idx, void **arg);
 
   inkapi int INKHttpTxnGetMaxHttpRetBodySize(void);
-  inkapi INKReturnCode INKHttpTxnSetHttpRetBody(INKHttpTxn txnp, const char *body_msg, bool
plain_msg);
+  inkapi INKReturnCode INKHttpTxnSetHttpRetBody(INKHttpTxn txnp, const char *body_msg, int
plain_msg);
   inkapi INKReturnCode INKHttpTxnSetHttpRetStatus(INKHttpTxn txnp, INKHttpStatus http_retstatus);
   inkapi int INKHttpTxnActiveTimeoutSet(INKHttpTxn txnp, int timeout);
   inkapi int INKHttpTxnConnectTimeoutSet(INKHttpTxn txnp, int timeout);



Mime
View raw message