From a2ec3b054645d0aa4ea23a48c4262adc856e699b Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Wed, 25 Mar 2015 10:59:36 +0100 Subject: [PATCH] Fixed some typos, courtesy of codespell --- src/libcharon/plugins/forecast/forecast_listener.c | 2 +- src/libcharon/sa/child_sa.c | 2 +- src/libtnccs/plugins/tnccs_20/tnccs_20_handler.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libcharon/plugins/forecast/forecast_listener.c b/src/libcharon/plugins/forecast/forecast_listener.c index 35962c2946..63a8cb15b5 100644 --- a/src/libcharon/plugins/forecast/forecast_listener.c +++ b/src/libcharon/plugins/forecast/forecast_listener.c @@ -76,7 +76,7 @@ typedef struct { u_int32_t spi; /** use UDP encapsulation */ bool encap; - /** wheter we should allow reencapsulation of IPsec received forecasts */ + /** whether we should allow reencapsulation of IPsec received forecasts */ bool reinject; /** broadcast address used for that entry */ u_int32_t broadcast; diff --git a/src/libcharon/sa/child_sa.c b/src/libcharon/sa/child_sa.c index 9ea384e5a1..e0db2e6550 100644 --- a/src/libcharon/sa/child_sa.c +++ b/src/libcharon/sa/child_sa.c @@ -1293,7 +1293,7 @@ child_sa_t * child_sa_create(host_t *me, host_t* other, * reqid cache would find the same reqid for our selectors, this does * not work in a special case: If an SA is triggered by a trap policy, * but the negotiated SA gets narrowed, we still must reuse the same - * reqid to succesfully "trigger" the SA on the kernel level. Rekeying + * reqid to successfully "trigger" the SA on the kernel level. Rekeying * such an SA requires an explicit reqid, as the cache currently knows * the original selectors only for that reqid. */ if (rekey) diff --git a/src/libtnccs/plugins/tnccs_20/tnccs_20_handler.h b/src/libtnccs/plugins/tnccs_20/tnccs_20_handler.h index 45df32fc7e..a309cbacd8 100644 --- a/src/libtnccs/plugins/tnccs_20/tnccs_20_handler.h +++ b/src/libtnccs/plugins/tnccs_20/tnccs_20_handler.h @@ -90,7 +90,7 @@ struct tnccs_20_handler_t { /** * Handle errors that occurred during PB-TNC batch header processing * - * @param batch batch where a fatal error occured + * @param batch batch where a fatal error occurred */ void (*handle_errors)(tnccs_20_handler_t *this, pb_tnc_batch_t *batch); -- 2.47.2