提交 4a15489d 编写于 作者: 如梦技术's avatar 如梦技术 🐛

🐛 mica-mqtt-codec 修复 will message。

上级 a7eb58dc
......@@ -160,7 +160,6 @@ public final class MqttEncoder {
buf.putShort((short) clientIdentifierBytes.length);
buf.put(clientIdentifierBytes, 0, clientIdentifierBytes.length);
if (variableHeader.isWillFlag()) {
buf.putShort((short) willPropertiesBytes.length);
buf.put(willPropertiesBytes, 0, willPropertiesBytes.length);
buf.putShort((short) willTopicBytes.length);
buf.put(willTopicBytes, 0, willTopicBytes.length);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册