Browse Source

Fix bug #49778: sntp_stop does not cancel all timers

Patch by Ari Suutari
STABLE-2_1_x
Dirk Ziegelmeier 9 years ago
parent
commit
e00a131160
  1. 1
      src/apps/sntp/sntp.c

1
src/apps/sntp/sntp.c

@ -573,6 +573,7 @@ sntp_stop(void)
{
if (sntp_pcb != NULL) {
sys_untimeout(sntp_request, NULL);
sys_untimeout(sntp_try_next_server, NULL);
udp_remove(sntp_pcb);
sntp_pcb = NULL;
}

Loading…
Cancel
Save