Fixed some typos, courtesy of codespell

This commit is contained in:
Tobias Brunner
2022-01-20 10:44:42 +01:00
parent 21b2b124a1
commit 627eaa22ff
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ build_tests: build_tests.gpr
check: build_tests
if test -z "${TESTS_TKM}"; then \
echo -e >&2 \
"\nSome TKM tests are not enabled, by deafult, because they have" \
"\nSome TKM tests are not enabled, by default, because they have" \
"\nto be run as root and require a running TKM daemon. They may" \
"\nbe enabled by defining the TESTS_TKM environment variable.\n"; \
fi
+2 -2
View File
@@ -73,7 +73,7 @@ struct socket_t {
* Reads a packet from the socket and sets source/dest
* appropriately.
*
* @param packet pinter gets address from allocated packet_t
* @param packet received packet
* @return
* - SUCCESS when packet successfully received
* - FAILED when unable to receive
@@ -86,7 +86,7 @@ struct socket_t {
* Sends a packet to the net using source and destination addresses of
* the packet.
*
* @param packet packet_t to send
* @param packet packet to send
* @return
* - SUCCESS when packet successfully sent
* - FAILED when unable to send
+1 -1
View File
@@ -209,7 +209,7 @@ struct fast_request_t {
/**
* Create a request from the fastcgi struct.
*
* @param fd file descripter opened with FCGX_OpenSocket
* @param fd file descriptor opened with FCGX_OpenSocket
* @param debug no stripping, no compression, timing information
*/
fast_request_t *fast_request_create(int fd, bool debug);
@@ -101,7 +101,7 @@ METHOD(mac_t, set_key, bool,
{
if (!key.ptr)
{ /* HMAC_Init_ex() won't reset the key if a NULL pointer is passed,
* use a lenghty string in case there is a limit in FIPS-mode */
* use a lengthy string in case there is a limit in FIPS-mode */
key = chunk_from_str("00000000000000000000000000000000");
}
return reset(this, key);