From: Joseph Herlant Date: Sat, 10 Nov 2018 02:25:59 +0000 (-0800) Subject: CLEANUP: fix typos in comments for the contrib/modsecurity subsystem X-Git-Tag: v1.9-dev7~145 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9fe83fa63982d7b527bbde6bdb12fea0c37019b1;p=thirdparty%2Fhaproxy.git CLEANUP: fix typos in comments for the contrib/modsecurity subsystem 3 typos detected in code comments in the contrib/modsecurity subsystem. --- diff --git a/contrib/modsecurity/modsec_wrapper.c b/contrib/modsecurity/modsec_wrapper.c index b3f67ecd45..1daaddbd54 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;