From 2dec8f449a36fe6c914cbb7601986cabe08c3749 Mon Sep 17 00:00:00 2001 From: sg Date: Thu, 29 Oct 2015 22:18:41 +0100 Subject: [PATCH] minor: fixed typo: even_callback -> event_callback --- src/api/sockets.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/sockets.c b/src/api/sockets.c index 4f34bd04..e26f439f 100644 --- a/src/api/sockets.c +++ b/src/api/sockets.c @@ -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 = &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++; /* 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); 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++; SYS_ARCH_UNPROTECT(lev);