commit | 16554245e2af33fb5939e88b78b0b6566b373f03 | [log] [tgz] |
---|---|---|
author | Tim Duesterhus <tim@bastelstu.be> | Wed Sep 15 13:58:49 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Sep 17 17:22:05 2021 +0200 |
tree | 25273f6fd9220dbc84594c7af9ce06e4fdcc0acd | |
parent | c1af0bae69296eed069f7db03e3bdde1629b9b23 [diff] [blame] |
CLEANUP: Apply bug_on.cocci The changes look safe to me, even if `DEBUG_STRICT` is not enabled.
diff --git a/src/quic_sock.c b/src/quic_sock.c index 82d6270..6c1f2d0 100644 --- a/src/quic_sock.c +++ b/src/quic_sock.c
@@ -201,8 +201,7 @@ struct sockaddr_storage saddr = {0}; socklen_t saddrlen; - if (!l) - ABORT_NOW(); + BUG_ON(!l); if (!(fdtab[fd].state & FD_POLL_IN) || !fd_recv_ready(fd)) return;