Merge pull request #465 from cal101/dev096

Fix Problem with multiple MQTT subscriptions #459
This commit is contained in:
Vowstar 2015-06-05 13:00:59 +08:00
commit 3118fa5761

View File

@ -374,7 +374,7 @@ READPACKET:
if(mud->mqtt_state.message_length < mud->mqtt_state.message_length_read)
{
length -= mud->mqtt_state.message_length;
pdata += mud->mqtt_state.message_length;
in_buffer += mud->mqtt_state.message_length;
NODE_DBG("Get another published message\r\n");
goto READPACKET;