mirror of https://github.com/eclipse/paho.mqtt.c
Merge branch 'hotfix/SegmentFault_Destroy' of https://github.com/aggresss/paho.mqtt.c into aggresss-hotfix/SegmentFault_Destroy
This commit is contained in:
commit
f107a9e89f
|
|
@ -926,7 +926,7 @@ int Socket_continueWrites(fd_set* pwset)
|
|||
ListElement* curpending = s.write_pending->first;
|
||||
|
||||
FUNC_ENTRY;
|
||||
while (curpending)
|
||||
while (curpending && curpending->content)
|
||||
{
|
||||
int socket = *(int*)(curpending->content);
|
||||
int rc = 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue