CLEANUP: fix a few reported typos in code comments

These are only the few relevant changes among those reported here:

  https://github.com/haproxy/haproxy/actions/runs/4856148287/jobs/8655397661
This commit is contained in:
Willy Tarreau 2023-05-07 07:07:44 +02:00
parent 615c301db4
commit dd9f921b3a
4 changed files with 5 additions and 5 deletions

View File

@ -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);

View File

@ -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;

View File

@ -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 <pos> postion without exceeding <end>.
/* Parse a QUIC packet header starting at <pos> position without exceeding <end>.
* Version and type are stored in <pkt> 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 <pos> postition,
/* Retrieve the DCID from a QUIC datagram or packet at <pos> position,
* <end> being at one byte past the end of this datagram.
* Returns 1 if succeeded, 0 if not.
*/

View File

@ -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.
*/