Hi,

This is not user-visible issues, just a cleanup of comments.

Fixes 3 typos detected in code comments in the contrib/modsecurity subsystem.

The patch is attached, but if you want to view the diff online, you
can check: 
https://github.com/haproxy/haproxy/compare/master...aerostitch:cleanup_modsecurity_typos

Thanks
Joseph
From 3dd465b109a4ee0c2403e5bbf5193f26e86eab84 Mon Sep 17 00:00:00 2001
From: Joseph Herlant <[email protected]>
Date: Fri, 9 Nov 2018 18:25:59 -0800
Subject: [PATCH] CLEANUP: fix typos in comments for the contrib/modsecurity
 subsystem

3 typos detected in code comments in the contrib/modsecurity subsystem.
---
 contrib/modsecurity/modsec_wrapper.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/modsecurity/modsec_wrapper.c b/contrib/modsecurity/modsec_wrapper.c
index b3f67ecd..1daaddbd 100644
--- a/contrib/modsecurity/modsec_wrapper.c
+++ b/contrib/modsecurity/modsec_wrapper.c
@@ -130,7 +130,7 @@ static void modsec_log(void *obj, int level, char *str)
 	LOG(&null_worker, "%s", str);
 }
 
-/* This fucntion load the ModSecurity file. It returns -1 if the
+/* This function load the ModSecurity file. It returns -1 if the
  * initialisation fails.
  */
 int modsecurity_load(const char *file)
@@ -568,7 +568,7 @@ int modsecurity_process(struct worker *worker, struct modsecurity_parameters *pa
 		goto fail;
 	}
 
-	/* Stores HTTP body avalaible data in a bucket */
+	/* Stores HTTP body available data in a bucket */
 	data_bucket = apr_bucket_alloc(sizeof(*data_bucket), req->connection->bucket_alloc);
 	if (!data_bucket) {
 		errno = ENOMEM;
-- 
2.19.1

Reply via email to