From: Josh Soref Date: Mon, 14 Jun 2021 01:09:56 +0000 (-0400) Subject: spelling: response X-Git-Tag: 1.8.0-rc.1~25^2~104 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bb3f45f95b994c4b877b9b16542c216f20842b0;p=thirdparty%2Fldns.git spelling: response Signed-off-by: Josh Soref --- diff --git a/contrib/python/ldns_packet.i b/contrib/python/ldns_packet.i index eeff4aa2..29e2b988 100644 --- a/contrib/python/ldns_packet.i +++ b/contrib/python/ldns_packet.i @@ -1346,7 +1346,7 @@ This simple example instances a resolver in order to resolve NS for nic.cz." def set_rcode(self, c): """ - Set the packet's respons code. + Set the packet's response code. :param c: The rcode. :type c: uint8_t diff --git a/ldns/net.h.in b/ldns/net.h.in index fbfd065e..6f24c655 100644 --- a/ldns/net.h.in +++ b/ldns/net.h.in @@ -30,7 +30,7 @@ extern "C" { */ /** - * Sends a buffer to an ip using udp and return the respons as a ldns_pkt + * Sends a buffer to an ip using udp and return the response as a ldns_pkt * \param[in] qbin the ldns_buffer to be send * \param[in] to the ip addr to send to * \param[in] tolen length of the ip addr @@ -90,7 +90,7 @@ int ldns_tcp_bgsend2(ldns_buffer *qbin, const struct sockaddr_storage *to, sockl int ldns_tcp_bgsend(ldns_buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout); /** - * Sends a buffer to an ip using tcp and return the respons as a ldns_pkt + * Sends a buffer to an ip using tcp and return the response as a ldns_pkt * \param[in] qbin the ldns_buffer to be send * \param[in] qbin the ldns_buffer to be send * \param[in] to the ip addr to send to diff --git a/ldns/packet.h b/ldns/packet.h index 2e5ee8bd..254354e7 100644 --- a/ldns/packet.h +++ b/ldns/packet.h @@ -355,9 +355,9 @@ bool ldns_pkt_ad(const ldns_pkt *p); */ ldns_pkt_opcode ldns_pkt_get_opcode(const ldns_pkt *p); /** - * Return the packet's respons code + * Return the packet's response code * \param[in] p the packet - * \return the respons code + * \return the response code */ ldns_pkt_rcode ldns_pkt_get_rcode(const ldns_pkt *p); /** @@ -586,7 +586,7 @@ void ldns_pkt_set_ad(ldns_pkt *p, bool b); */ void ldns_pkt_set_opcode(ldns_pkt *p, ldns_pkt_opcode c); /** - * Set the packet's respons code + * Set the packet's response code * \param[in] p the packet * \param[in] c the rcode */