Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
4b212b4
)
THRIFT-1151 - support R13 as well as R14
author
Anthony F. Molinaro
<molinaro@apache.org>
Mon, 20 Jun 2011 22:03:40 +0000
(22:03 +0000)
committer
Anthony F. Molinaro
<molinaro@apache.org>
Mon, 20 Jun 2011 22:03:40 +0000
(22:03 +0000)
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1137801
13f79535
-47bb-0310-9956-
ffa450edef68
lib/erl/src/thrift_protocol.erl
patch
|
blob
|
history
diff --git
a/lib/erl/src/thrift_protocol.erl
b/lib/erl/src/thrift_protocol.erl
index
95b7d1a
..
193b07a
100644
(file)
--- a/
lib/erl/src/thrift_protocol.erl
+++ b/
lib/erl/src/thrift_protocol.erl
@@
-332,7
+332,7
@@
write(Proto, {{struct, {Module, StructureName}}, Data})
write(_, {{struct, {Module, StructureName}}, Data})
when is_atom(Module),
is_atom(StructureName) ->
- error(struct_unmatched, {{provided, element(1, Data)},
+ er
lang:er
ror(struct_unmatched, {{provided, element(1, Data)},
{expected, StructureName}});
write(Proto0, {{list, Type}, Data})