diff --git a/include/haproxy/sock_inet.h b/include/haproxy/sock_inet.h index 1e34ff4c7..6f07e637a 100644 --- a/include/haproxy/sock_inet.h +++ b/include/haproxy/sock_inet.h @@ -34,7 +34,7 @@ extern int sock_inet6_tcp_maxseg_default; extern struct proto_fam proto_fam_inet4; extern struct proto_fam proto_fam_inet6; -/* extrenal types */ +/* external types */ struct receiver; int sock_inet4_addrcmp(const struct sockaddr_storage *a, const struct sockaddr_storage *b); diff --git a/src/cli.c b/src/cli.c index 977e22869..7d058c574 100644 --- a/src/cli.c +++ b/src/cli.c @@ -2682,7 +2682,7 @@ send_help: send_status: s->pcli_flags |= PCLI_F_RELOAD; - /* dont' use ci_putblk here because SHUT_DONE could have been sent */ + /* don't use ci_putblk here because SHUT_DONE could have been sent */ b_reset(&req->buf); b_putblk(&req->buf, "_loadstatus;quit\n", 17); goto read_again; diff --git a/src/quic_conn.c b/src/quic_conn.c index c3e0beccf..849beb20b 100644 --- a/src/quic_conn.c +++ b/src/quic_conn.c @@ -6131,7 +6131,7 @@ static inline const struct quic_version *qc_supported_version(uint32_t version) return NULL; } -/* Parse a QUIC packet header starting at postion without exceeding . +/* Parse a QUIC packet header starting at position without exceeding . * Version and type are stored in packet instance. Type is set to unknown * on two occasions : for unsupported version, in this case version field is * set to NULL; for Version Negotiation packet with version number set to 0. @@ -8373,7 +8373,7 @@ int qc_check_dcid(struct quic_conn *qc, unsigned char *dcid, size_t dcid_len) return 0; } -/* Retrieve the DCID from a QUIC datagram or packet at postition, +/* Retrieve the DCID from a QUIC datagram or packet at position, * being at one byte past the end of this datagram. * Returns 1 if succeeded, 0 if not. */ diff --git a/src/tcpcheck.c b/src/tcpcheck.c index 117be3275..c36b9d9a6 100644 --- a/src/tcpcheck.c +++ b/src/tcpcheck.c @@ -2048,7 +2048,7 @@ enum tcpcheck_eval_ret tcpcheck_eval_expect(struct check *check, struct tcpcheck case TCPCHK_EXPECT_CUSTOM: /* Don't eval custom function if the buffer is empty. It means - * cusstom functions can't expect an empty response. If this + * custom functions can't expect an empty response. If this * change, don't forget to change this test and update all * custom functions. */