Skip to content

Commit

Permalink
test: udp_listen NULL
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredh committed Apr 9, 2024
1 parent 151f6dc commit 2daa2f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/udp.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ int test_udp(void)
if (err)
goto out;

err = udp_listen(&ut->usc, &ut->cli, udp_recv_client, ut);
err = udp_listen(&ut->usc, NULL, udp_recv_client, ut);
err |= udp_listen(&ut->uss, &ut->srv, udp_recv_server, ut);
if (err)
goto out;
Expand Down

0 comments on commit 2daa2f1

Please sign in to comment.