Closed GoogleCodeExporter closed 8 years ago
Thanks for the bug, but the problem is actually a bug updating "count" a few
lines.
Oddly this code is cut-n-pasted 3 times -- it was correct for:
protobuf_c_message_descriptor_get_field_by_name
and buggy for
protobuf_c_enum_descriptor_get_value_by_name
protobuf_c_service_descriptor_get_method_by_name
Fix committed as revision 203.
Original comment by lahike...@gmail.com
on 10 Feb 2010 at 12:32
(might be good to refactor into a single bsearch function... sigh...)
Original comment by lahike...@gmail.com
on 10 Feb 2010 at 12:34
thanks, i've cherry picked this fix for the debian protobuf-c 0.12-2 package.
Original comment by robert.e...@gmail.com
on 10 Feb 2010 at 1:09
Original comment by lahike...@gmail.com
on 18 Mar 2010 at 2:44
Original issue reported on code.google.com by
robert.e...@gmail.com
on 9 Feb 2010 at 1:30Attachments: