Skip to content

Commit 4198343

Browse files
committed
Compile fixup for #1381.
1 parent 08600d6 commit 4198343

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

util/netevent.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2723,7 +2723,7 @@ doq_server_socket_create(struct doq_table* table, struct ub_randstate* rnd,
27232723
{
27242724
size_t doq_buffer_size = 4096; /* bytes buffer size, for one packet. */
27252725
struct doq_server_socket* doq_socket;
2726-
log_assert(doq_table != NULL);
2726+
log_assert(table != NULL);
27272727
doq_socket = calloc(1, sizeof(*doq_socket));
27282728
if(!doq_socket) {
27292729
return NULL;
@@ -5882,10 +5882,10 @@ comm_point_create_doq(struct comm_base *base, int fd, sldns_buffer* buffer,
58825882
struct config_file* cfg)
58835883
{
58845884
#ifdef HAVE_NGTCP2
5885-
log_assert(table != NULL);
58865885
struct comm_point* c = (struct comm_point*)calloc(1,
58875886
sizeof(struct comm_point));
58885887
short evbits;
5888+
log_assert(table != NULL);
58895889
if(!c)
58905890
return NULL;
58915891
c->ev = (struct internal_event*)calloc(1,

0 commit comments

Comments
 (0)