You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by dr...@apache.org on 2010/10/18 19:25:40 UTC

svn commit: r1023913 - /incubator/thrift/trunk/lib/cpp/src/protocol/TDebugProtocol.cpp

Author: dreiss
Date: Mon Oct 18 17:25:40 2010
New Revision: 1023913

URL: http://svn.apache.org/viewvc?rev=1023913&view=rev
Log:
cpp: Support oneway calls in TDebugProtocol.cpp

Modified:
    incubator/thrift/trunk/lib/cpp/src/protocol/TDebugProtocol.cpp

Modified: incubator/thrift/trunk/lib/cpp/src/protocol/TDebugProtocol.cpp
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/cpp/src/protocol/TDebugProtocol.cpp?rev=1023913&r1=1023912&r2=1023913&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/cpp/src/protocol/TDebugProtocol.cpp (original)
+++ incubator/thrift/trunk/lib/cpp/src/protocol/TDebugProtocol.cpp Mon Oct 18 17:25:40 2010
@@ -153,6 +153,7 @@ uint32_t TDebugProtocol::writeMessageBeg
     case T_CALL      : mtype = "call"   ; break;
     case T_REPLY     : mtype = "reply"  ; break;
     case T_EXCEPTION : mtype = "exn"    ; break;
+    case T_ONEWAY    : mtype = "oneway" ; break;
   }
 
   uint32_t size = writeIndented("(" + mtype + ") " + name + "(");