mirror of https://github.com/eclipse/paho.mqtt.c
Merge branch 'develop' of https://github.com/chenzhenhua5/paho.mqtt.c into chenzhenhua5-develop
This commit is contained in:
commit
09ffa867e4
|
|
@ -2080,6 +2080,11 @@ MQTTResponse MQTTClient_subscribeMany5(MQTTClient handle, int count, char* const
|
|||
}
|
||||
else
|
||||
{
|
||||
if (count < sub->qoss->count)
|
||||
{
|
||||
rc = MQTTCLIENT_FAILURE;
|
||||
goto exit;
|
||||
}
|
||||
ListElement* current = NULL;
|
||||
i = 0;
|
||||
while (ListNextElement(sub->qoss, ¤t))
|
||||
|
|
|
|||
Loading…
Reference in New Issue