mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
net/gcoap: fixed coding style issue
This commit is contained in:
parent
459f6083e9
commit
cd4109100f
@ -381,8 +381,9 @@ void gcoap_register_listener(gcoap_listener_t *listener)
|
||||
{
|
||||
/* Add the listener to the end of the linked list. */
|
||||
gcoap_listener_t *_last = _coap_state.listeners;
|
||||
while (_last->next)
|
||||
while (_last->next) {
|
||||
_last = _last->next;
|
||||
}
|
||||
|
||||
listener->next = NULL;
|
||||
_last->next = listener;
|
||||
|
Loading…
Reference in New Issue
Block a user