aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Timber <dxdt@dev.snart.me>2022-11-05 19:19:30 +0800
committerDavid Timber <dxdt@dev.snart.me>2022-11-05 19:19:30 +0800
commit1fb630b7df7d65c436f7486266671f9eb942067c (patch)
tree4f228620ce23f3158760a4f19bb7c1dd044269c1 /src
parentbd69f1e9afca387f1c143e14d553c42b88aca20b (diff)
Doc and source comment spelling check
Diffstat (limited to 'src')
-rw-r--r--src/bne.h2
-rw-r--r--src/htbt.c2
-rw-r--r--src/resolv.h2
3 files changed, 3 insertions, 3 deletions
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