CLEANUP: fix typos in comments for the contrib/modsecurity subsystem

3 typos detected in code comments in the contrib/modsecurity subsystem.
This commit is contained in:
Joseph Herlant 2018-11-09 18:25:59 -08:00 committed by Willy Tarreau
parent 42172bdc97
commit 9fe83fa639
1 changed files with 2 additions and 2 deletions

View 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;