Commit 060c0712 authored by Ilya Lipnitskiy's avatar Ilya Lipnitskiy

protobuf-c.c: Fix a bug when merging optional byte fields

parent c6a950c5
......@@ -2001,7 +2001,7 @@ merge_messages(ProtobufCMessage *earlier_msg,
need_to_merge =
(e_data != NULL &&
(d_bd != NULL &&
(d_bd == NULL ||
e_data != d_bd->data)) &&
(l_data == NULL ||
(d_bd != NULL &&
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment