Merge pull request #390 from nsjodk/develop

Remove shadow warn. (MQTTAsync_completeConnection)
This commit is contained in:
Ian Craggs 2017-12-15 14:59:57 +00:00 committed by GitHub
commit b18f5ee73d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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)