From 578f51a5114e5835fb545d7231ae3618aa015d11 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 3 Jan 2022 11:31:30 +0000 Subject: [Project] Rdns: Implement TCP writing logic --- contrib/librdns/dns_private.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib/librdns/dns_private.h') diff --git a/contrib/librdns/dns_private.h b/contrib/librdns/dns_private.h index 38b6c8cc1..cc2d48683 100644 --- a/contrib/librdns/dns_private.h +++ b/contrib/librdns/dns_private.h @@ -152,8 +152,8 @@ enum rdns_io_channel_flags { */ struct rdns_tcp_output_chain { uint16_t next_write_size; - struct rdns_request *req; uint16_t cur_write; + struct rdns_request *req; struct rdns_tcp_output_chain *prev, *next; }; @@ -162,8 +162,8 @@ struct rdns_tcp_output_chain { */ struct rdns_tcp_channel { uint16_t next_read_size; - unsigned char *cur_read_buf; uint16_t cur_read; + unsigned char *cur_read_buf; /* Chained set of the planned writes */ struct rdns_tcp_output_chain *output_chain; -- cgit v1.2.3