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:
daeed4d
)
Remove another TODO - no need to set "id" field of stop markers
author
David Reiss
<dreiss@apache.org>
Wed, 11 Jun 2008 01:03:10 +0000
(
01:03
+0000)
committer
David Reiss
<dreiss@apache.org>
Wed, 11 Jun 2008 01:03:10 +0000
(
01:03
+0000)
Test plan: tested on our price service
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@666457
13f79535
-47bb-0310-9956-
ffa450edef68
lib/alterl/src/thrift_binary_protocol.erl
patch
|
blob
|
history
diff --git
a/lib/alterl/src/thrift_binary_protocol.erl
b/lib/alterl/src/thrift_binary_protocol.erl
index
c84701e
..
804e0ad
100644
(file)
--- a/
lib/alterl/src/thrift_binary_protocol.erl
+++ b/
lib/alterl/src/thrift_binary_protocol.erl
@@
-190,8
+190,7
@@
read(This, struct_end) -> ok;
read(This, field_begin) ->
case read(This, byte) of
{ok, Type = ?tType_STOP} ->
- #protocol_field_begin{type = Type,
- id = 0}; % TODO(todd) 0 or undefined?
+ #protocol_field_begin{type = Type};
{ok, Type} ->
{ok, Id} = read(This, i16),
#protocol_field_begin{type = Type,