Discussion:
[PATCH] CLEANUP: Fix a typo in the checks header file
Joseph Herlant
2018-11-25 21:28:30 UTC
Permalink
Fixes a typo in the code comments of the checks header file.
---
include/types/checks.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/types/checks.h b/include/types/checks.h
index e0a4bd64..364eee88 100644
--- a/include/types/checks.h
+++ b/include/types/checks.h
@@ -224,7 +224,7 @@ struct tcpcheck_rule {
/* match type uses NON-NULL pointer from either string or expect_regex below */
/* sent string is string */
char *string; /* sent or expected string */
- int string_len; /* string lenght */
+ int string_len; /* string length */
struct my_regex *expect_regex; /* expected */
int inverse; /* 0 = regular match, 1 = inverse match */
unsigned short port; /* port to connect to */
--
2.19.2
Loading...