]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
spelling: response
authorJosh Soref <jsoref@users.noreply.github.com>
Mon, 14 Jun 2021 01:09:56 +0000 (21:09 -0400)
committerWillem Toorop <willem@nlnetlabs.nl>
Mon, 14 Jun 2021 09:29:15 +0000 (11:29 +0200)
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
contrib/python/ldns_packet.i
ldns/net.h.in
ldns/packet.h

index eeff4aa2359a35b1a189a7c195a529ca60af7144..29e2b988abf7834af70ff50ae7cd6e6c954243a5 100644 (file)
@@ -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
index fbfd065e6e3f30f52b9c1926625f3399a2066f65..6f24c655066195e80ebe9c4c3e03301ad2f196d1 100644 (file)
@@ -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
index 2e5ee8bde1a12287540c8c37223d0132dc6d63de..254354e75635eb4b261216bef9611bec3de4327d 100644 (file)
@@ -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
  */