mirror of https://github.com/eclipse/paho.mqtt.c
Merge pull request #390 from nsjodk/develop
Remove shadow warn. (MQTTAsync_completeConnection)
This commit is contained in:
commit
b18f5ee73d
|
|
@ -1735,8 +1735,8 @@ static int MQTTAsync_completeConnection(MQTTAsyncs* m, MQTTPacket* pack)
|
|||
|
||||
while (ListNextElement(m->c->outboundMsgs, &outcurrent))
|
||||
{
|
||||
Messages* m = (Messages*)(outcurrent->content);
|
||||
m->lastTouch = 0;
|
||||
Messages* messages = (Messages*)(outcurrent->content);
|
||||
messages->lastTouch = 0;
|
||||
}
|
||||
MQTTProtocol_retry((time_t)0, 1, 1);
|
||||
if (m->c->connected != 1)
|
||||
|
|
|
|||
Loading…
Reference in New Issue