You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by br...@apache.org on 2011/04/08 20:31:52 UTC

svn commit: r1090392 - /thrift/trunk/lib/csharp/src/TApplicationException.cs

Author: bryanduxbury
Date: Fri Apr  8 18:31:52 2011
New Revision: 1090392

URL: http://svn.apache.org/viewvc?rev=1090392&view=rev
Log:
THRIFT-1132. csharp: Deserialization error in TApplicationException C#

Add in a missing ReadStructBegin call.

Patch: Wojciech Baćmaga

Modified:
    thrift/trunk/lib/csharp/src/TApplicationException.cs

Modified: thrift/trunk/lib/csharp/src/TApplicationException.cs
URL: http://svn.apache.org/viewvc/thrift/trunk/lib/csharp/src/TApplicationException.cs?rev=1090392&r1=1090391&r2=1090392&view=diff
==============================================================================
--- thrift/trunk/lib/csharp/src/TApplicationException.cs (original)
+++ thrift/trunk/lib/csharp/src/TApplicationException.cs Fri Apr  8 18:31:52 2011
@@ -52,6 +52,7 @@ namespace Thrift
 			string message = null;
 			ExceptionType type = ExceptionType.Unknown;
 
+			iprot.ReadStructBegin();
 			while (true)
 			{
 				field = iprot.ReadFieldBegin();