From 1974732d19229a6d885c2926db96e447590e5b86 Mon Sep 17 00:00:00 2001 From: "W.C.A. Wijngaards" Date: Thu, 6 Jun 2024 09:35:57 +0200 Subject: [PATCH] - Fix typos for 'the the' in text. --- doc/Changelog | 1 + makedist.sh | 2 +- services/cache/infra.h | 2 +- sldns/parse.h | 6 +++--- smallapp/unbound-anchor.c | 2 +- util/module.h | 2 +- 6 files changed, 8 insertions(+), 7 deletions(-) diff --git a/doc/Changelog b/doc/Changelog index 4c4310418..4d7a8fdee 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,5 +1,6 @@ 6 June 2024: Wouter - Fix memory leak in setup of dsa sig. + - Fix typos for 'the the' in text. 4 June 2024: Yorgos - Merge #1080: AddressSanitizer detection in tdir tests and memory leak diff --git a/makedist.sh b/makedist.sh index 4ed6ce452..c1e19f6f1 100755 --- a/makedist.sh +++ b/makedist.sh @@ -53,7 +53,7 @@ Generate a distribution tar file for unbound. (which will then be unbound-rc) -u git_url Retrieve the source from the specified repository url. Detected from the working copy if not specified. - -b git_branch Retrieve the the specified branch or tag. + -b git_branch Retrieve the specified branch or tag. Detected from the working copy if not specified. -wssl openssl.xx.tar.gz Also build openssl from tarball for windows dist. -wxp expat.xx.tar.gz Also build expat from tarball for windows dist. diff --git a/services/cache/infra.h b/services/cache/infra.h index ee6f384de..1a88bbb94 100644 --- a/services/cache/infra.h +++ b/services/cache/infra.h @@ -234,7 +234,7 @@ struct infra_cache* infra_adjust(struct infra_cache* infra, struct config_file* cfg); /** - * Plain find infra data function (used by the the other functions) + * Plain find infra data function (used by the other functions) * @param infra: infrastructure cache. * @param addr: host address. * @param addrlen: length of addr. diff --git a/sldns/parse.h b/sldns/parse.h index fa8f51a92..504a78b67 100644 --- a/sldns/parse.h +++ b/sldns/parse.h @@ -106,7 +106,7 @@ ssize_t sldns_bget_token(struct sldns_buffer *b, char *token, const char *delim, * \param[in] k_del keyword delimiter * \param[out] data the data found * \param[in] d_del the data delimiter - * \param[in] data_limit maximum size the the data buffer + * \param[in] data_limit maximum size the data buffer * \return the number of character read */ ssize_t sldns_fget_keyword_data(FILE *f, const char *keyword, const char *k_del, char *data, const char *d_del, size_t data_limit); @@ -119,7 +119,7 @@ ssize_t sldns_fget_keyword_data(FILE *f, const char *keyword, const char *k_del, * \param[in] k_del keyword delimiter * \param[out] data the data found * \param[in] d_del the data delimiter - * \param[in] data_limit maximum size the the data buffer + * \param[in] data_limit maximum size the data buffer * \param[in] line_nr pointer to an integer containing the current line number (for debugging purposes) * \return the number of character read @@ -134,7 +134,7 @@ ssize_t sldns_fget_keyword_data_l(FILE *f, const char *keyword, const char *k_de * \param[in] k_del keyword delimiter * \param[out] data the data found * \param[in] d_del the data delimiter - * \param[in] data_limit maximum size the the data buffer + * \param[in] data_limit maximum size the data buffer * \return the number of character read */ ssize_t sldns_bget_keyword_data(struct sldns_buffer *b, const char *keyword, const char *k_del, char *data, const char *d_del, size_t data_limit); diff --git a/smallapp/unbound-anchor.c b/smallapp/unbound-anchor.c index 137b2e94e..68e0d010c 100644 --- a/smallapp/unbound-anchor.c +++ b/smallapp/unbound-anchor.c @@ -151,7 +151,7 @@ #define HTTPS_PORT 443 #ifdef USE_WINSOCK -/* sneakily reuse the the wsa_strerror function, on windows */ +/* sneakily reuse the wsa_strerror function, on windows */ char* wsa_strerror(int err); #endif diff --git a/util/module.h b/util/module.h index c9df74624..cf55e2c51 100644 --- a/util/module.h +++ b/util/module.h @@ -143,7 +143,7 @@ * also contain an rcode that is nonzero, but in this case additional * information (query, additional) can be passed along. * - * The rcode and dns_msg are used to pass the result from the the rightmost + * The rcode and dns_msg are used to pass the result from the rightmost * module towards the leftmost modules and then towards the user. * * If you want to avoid recursion-cycles where queries need other queries