mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-07 15:04:39 +08:00
minor: fixed typo: even_callback -> event_callback
This commit is contained in:
parent
1ef913cd36
commit
2dec8f449a
@ -1423,7 +1423,7 @@ lwip_select(int maxfdp1, fd_set *readset, fd_set *writeset, fd_set *exceptset,
|
|||||||
select_cb_list->prev = &select_cb;
|
select_cb_list->prev = &select_cb;
|
||||||
}
|
}
|
||||||
select_cb_list = &select_cb;
|
select_cb_list = &select_cb;
|
||||||
/* Increasing this counter tells even_callback that the list has changed. */
|
/* Increasing this counter tells event_callback that the list has changed. */
|
||||||
select_cb_ctr++;
|
select_cb_ctr++;
|
||||||
|
|
||||||
/* Now we can safely unprotect */
|
/* Now we can safely unprotect */
|
||||||
@ -1508,7 +1508,7 @@ lwip_select(int maxfdp1, fd_set *readset, fd_set *writeset, fd_set *exceptset,
|
|||||||
LWIP_ASSERT("select_cb.prev != NULL", select_cb.prev != NULL);
|
LWIP_ASSERT("select_cb.prev != NULL", select_cb.prev != NULL);
|
||||||
select_cb.prev->next = select_cb.next;
|
select_cb.prev->next = select_cb.next;
|
||||||
}
|
}
|
||||||
/* Increasing this counter tells even_callback that the list has changed. */
|
/* Increasing this counter tells event_callback that the list has changed. */
|
||||||
select_cb_ctr++;
|
select_cb_ctr++;
|
||||||
SYS_ARCH_UNPROTECT(lev);
|
SYS_ARCH_UNPROTECT(lev);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user