1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 22:43:50 +01:00

sock_async_event: fix typo in tcp_queue function

This was never checked at compile time before so a naming error sneaked
in.
This commit is contained in:
Martine S. Lenders 2020-02-20 12:25:31 +01:00 committed by Martine Lenders
parent 20805548b3
commit 0f391a554e

View File

@ -104,7 +104,7 @@ void sock_tcp_queue_event_init(sock_tcp_queue_t *queue,
event_queue_t *ev_queue,
sock_tcp_queue_cb_t handler)
{
sock_async_ctx_t *ctx = sock_tcp_queue_get_async_ctx(sock);
sock_async_ctx_t *ctx = sock_tcp_queue_get_async_ctx(queue);
_set_ctx(ctx, ev_queue);
ctx->event.cb.tcp_queue = handler;