From e9576507d9bac15505b5351f3928cfdb489a9a5b Mon Sep 17 00:00:00 2001 From: hasheddan Date: Tue, 14 Mar 2023 18:36:46 -0400 Subject: [PATCH] block.h/pdu.h: fix misspellings of "already" Fixes misspellings of "already" in the block and pdu header files. Signed-off-by: hasheddan --- include/coap3/block.h | 4 ++-- include/coap3/pdu.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/coap3/block.h b/include/coap3/block.h index fa10c9bc..ab3aad77 100644 --- a/include/coap3/block.h +++ b/include/coap3/block.h @@ -280,7 +280,7 @@ typedef void (*coap_release_large_data_t)(coap_session_t *session, /** * Associates given data with the @p pdu that is passed as second parameter. * - * This function will fail if data has aready been added to the @p pdu. + * This function will fail if data has already been added to the @p pdu. * * If all the data can be transmitted in a single PDU, this is functionally * the same as coap_add_data() except @p release_func (if not NULL) will get @@ -330,7 +330,7 @@ int coap_add_data_large_request(coap_session_t *session, * Associates given data with the @p response pdu that is passed as fourth * parameter. * - * This function will fail if data has aready been added to the @p pdu. + * This function will fail if data has already been added to the @p pdu. * * If all the data can be transmitted in a single PDU, this is functionally * the same as coap_add_data() except @p release_func (if not NULL) will get diff --git a/include/coap3/pdu.h b/include/coap3/pdu.h index 900b4600..61fae22e 100644 --- a/include/coap3/pdu.h +++ b/include/coap3/pdu.h @@ -457,7 +457,7 @@ int coap_add_token(coap_pdu_t *pdu, * Adds option of given @p number to @p pdu that is passed as first * parameter. * - * This function will fail if data has aready been added to the @p pdu. + * This function will fail if data has already been added to the @p pdu. * * Hence data must be added after optional coap_add_option() has been called. * @@ -482,7 +482,7 @@ size_t coap_add_option(coap_pdu_t *pdu, /** * Adds given data to the pdu that is passed as first parameter. * - * This function will fail if data has aready been added to the @p pdu. + * This function will fail if data has already been added to the @p pdu. * * @param pdu The PDU where the data is to be added. * @param len The length of the data. @@ -497,7 +497,7 @@ int coap_add_data(coap_pdu_t *pdu, /** * Adds given data to the pdu that is passed as first parameter but does not * - * This function will fail if data has aready been added to the @p pdu. + * This function will fail if data has already been added to the @p pdu. * * The actual data must be copied at the returned location. *