]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: fix typos in comments for the contrib/modsecurity subsystem
authorJoseph Herlant <aerostitch@debian.org>
Sat, 10 Nov 2018 02:25:59 +0000 (18:25 -0800)
committerWilly Tarreau <w@1wt.eu>
Mon, 12 Nov 2018 07:52:36 +0000 (08:52 +0100)
3 typos detected in code comments in the contrib/modsecurity subsystem.

contrib/modsecurity/modsec_wrapper.c

index b3f67ecd451b630e520248dcca575097553a6403..1daaddbd54cb732a80206a01fcf1ddedcf1461ee 100644 (file)
@@ -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;