From 1fb630b7df7d65c436f7486266671f9eb942067c Mon Sep 17 00:00:00 2001 From: David Timber Date: Sat, 5 Nov 2022 19:19:30 +0800 Subject: Doc and source comment spelling check --- src/bne.h | 2 +- src/htbt.c | 2 +- src/resolv.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/bne.h b/src/bne.h index 1adf723..543fe75 100644 --- a/src/bne.h +++ b/src/bne.h @@ -93,7 +93,7 @@ typedef enum prne_bne_vector prne_bne_vector_t; struct prne_bne_param { // The cred dict to use for brute force login (optional) const prne_cred_dict_t *cred_dict; - // The SSL config object for authoritive heartbeat client connections + // The SSL config object for authoritative heartbeat client connections // (optional) mbedtls_ssl_config *htbt_ssl_conf; /** diff --git a/src/htbt.c b/src/htbt.c index 143081b..bc9e23e 100644 --- a/src/htbt.c +++ b/src/htbt.c @@ -988,7 +988,7 @@ static bool htbt_relay_child_evflush ( */ errno = EPIPE; } - // It's up to authoritive end to decide if they should raise SIGPIPE + // It's up to authoritative end to decide if they should raise SIGPIPE prne_pth_reset_timer(ev, &HTBT_SLV_SCK_OP_TIMEOUT); htbt_slv_send_status( ctx, diff --git a/src/resolv.h b/src/resolv.h index 6e6d4f0..2862ed4 100644 --- a/src/resolv.h +++ b/src/resolv.h @@ -218,7 +218,7 @@ extern const prne_resolv_ns_pool_t PRNE_RESOLV_DEF_IPV6_POOL; // The DNS record types as per RFC 1035 3.2.2 and RFC 3596 #define PRNE_RESOLV_RTYPE_A 1 // A host address -#define PRNE_RESOLV_RTYPE_NS 2 // An authoritive name server +#define PRNE_RESOLV_RTYPE_NS 2 // An authoritative name server #define PRNE_RESOLV_RTYPE_CNAME 5 // The canonical name for an alias // Marks the start of a zone of authority #define PRNE_RESOLV_RTYPE_SOA 6 -- cgit