Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[paho-dev] Bug in dequeing of msgs

Hi guys,

I think I found another bug in the way how received messages are dequed in Async mode.

MQTTAsync.c, line 1430:
				qEntry* qe = (qEntry*)(m->c->messageQueue->first->content);

This always reads the 1st message sent, but it should dequeue the last one instead:

				qEntry* qe = (qEntry*)(m->c->messageQueue->last->content);


Back to the top