Permalink
Browse files

Fixed: Non-repeated empty messages are always present on the wire, see

  • Loading branch information...
dcodeIO committed Dec 22, 2016
1 parent 948ca2e commit 741b6d8fde84d9574676a729a29a428d99f0a0a0
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/encoder.js
@@ -88,7 +88,7 @@ function encoder(mtype) {
}
if (wireType === undefined)
genEncodeType(gen, field, i, "m" + prop);
genEncodeType(gen, field, i, "m" + prop, true);
else gen
("w.uint32(%d).%s(m%s)", (field.id << 3 | wireType) >>> 0, type, prop);

0 comments on commit 741b6d8

Please sign in to comment.