trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sji...@apache.org
Subject svn commit: r936094 - in /incubator/trafficserver/traffic/branches/2.0.x/proxy: InkAPI.cc api/include/ts.h
Date Tue, 20 Apr 2010 22:34:35 GMT
Author: sjiang
Date: Tue Apr 20 22:34:34 2010
New Revision: 936094

URL: http://svn.apache.org/viewvc?rev=936094&view=rev
Log:
TS-283: bool -> int for C API (backport from trunk)


Modified:
    incubator/trafficserver/traffic/branches/2.0.x/proxy/InkAPI.cc
    incubator/trafficserver/traffic/branches/2.0.x/proxy/api/include/ts.h

Modified: incubator/trafficserver/traffic/branches/2.0.x/proxy/InkAPI.cc
URL: http://svn.apache.org/viewvc/incubator/trafficserver/traffic/branches/2.0.x/proxy/InkAPI.cc?rev=936094&r1=936093&r2=936094&view=diff
==============================================================================
--- incubator/trafficserver/traffic/branches/2.0.x/proxy/InkAPI.cc (original)
+++ incubator/trafficserver/traffic/branches/2.0.x/proxy/InkAPI.cc Tue Apr 20 22:34:34 2010
@@ -6180,7 +6180,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/branches/2.0.x/proxy/api/include/ts.h
URL: http://svn.apache.org/viewvc/incubator/trafficserver/traffic/branches/2.0.x/proxy/api/include/ts.h?rev=936094&r1=936093&r2=936094&view=diff
==============================================================================
--- incubator/trafficserver/traffic/branches/2.0.x/proxy/api/include/ts.h (original)
+++ incubator/trafficserver/traffic/branches/2.0.x/proxy/api/include/ts.h Tue Apr 20 22:34:34
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