Author: molinaro
Date: Mon Jun 20 22:03:40 2011
New Revision: 1137801
URL: http://svn.apache.org/viewvc?rev=1137801&view=rev
Log:
THRIFT-1151 - support R13 as well as R14
Modified:
thrift/trunk/lib/erl/src/thrift_protocol.erl
Modified: thrift/trunk/lib/erl/src/thrift_protocol.erl
URL:
http://svn.apache.org/viewvc/thrift/trunk/lib/erl/src/thrift_protocol.erl?rev=1137801&r1=1137800&r2=1137801&view=diff
==============================================================================
--- thrift/trunk/lib/erl/src/thrift_protocol.erl (original)
+++ thrift/trunk/lib/erl/src/thrift_protocol.erl Mon Jun 20 22:03:40 2011
@@ -332,7 +332,7 @@ write(Proto, {{struct, {Module, Structur
write(_, {{struct, {Module, StructureName}}, Data})
when is_atom(Module),
is_atom(StructureName) ->
- error(struct_unmatched, {{provided, element(1, Data)},
+ erlang:error(struct_unmatched, {{provided, element(1, Data)},
{expected, StructureName}});
write(Proto0, {{list, Type}, Data})