summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bind/lib/dns/tcpmsg.c
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2020-01-09 18:17:14 +0000
committerflorian <florian@openbsd.org>2020-01-09 18:17:14 +0000
commitefcc66dac05750a3e8f785336e18c8db46f7c4de (patch)
treeee735efb62359255257c388aec982c7b35c2a91c /usr.sbin/bind/lib/dns/tcpmsg.c
parentWe use __dead for functions that do not return. (diff)
downloadwireguard-openbsd-efcc66dac05750a3e8f785336e18c8db46f7c4de.tar.xz
wireguard-openbsd-efcc66dac05750a3e8f785336e18c8db46f7c4de.zip
Use normal int types like int32_t instead of isc_int32_t.
OK millert
Diffstat (limited to 'usr.sbin/bind/lib/dns/tcpmsg.c')
-rw-r--r--usr.sbin/bind/lib/dns/tcpmsg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bind/lib/dns/tcpmsg.c b/usr.sbin/bind/lib/dns/tcpmsg.c
index e9d90f1c758..bb5e42f450c 100644
--- a/usr.sbin/bind/lib/dns/tcpmsg.c
+++ b/usr.sbin/bind/lib/dns/tcpmsg.c
@@ -14,7 +14,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: tcpmsg.c,v 1.4 2020/01/09 13:47:13 florian Exp $ */
+/* $Id: tcpmsg.c,v 1.5 2020/01/09 18:17:15 florian Exp $ */
/*! \file */
@@ -187,7 +187,7 @@ dns_tcpmsg_readmessage(dns_tcpmsg_t *tcpmsg,
NULL, NULL);
region.base = (unsigned char *)&tcpmsg->size;
- region.length = 2; /* isc_uint16_t */
+ region.length = 2; /* uint16_t */
result = isc_socket_recv(tcpmsg->sock, &region, 0,
tcpmsg->task, recv_length, tcpmsg);