PelionIoT / mbed-coap

CoAP C library - Builder and Parser for CoAP messages
Apache License 2.0
29 stars 16 forks source link

Reorder #16

Closed AnttiKauppila closed 7 years ago

AnttiKauppila commented 7 years ago

There is no need to iterate again in sn_coap_protocol_linked_list_send_msg_remove, we already know which one to remove. Also removal is done now before callback is called, to prevent error situations where sending queue will be cleaned