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:
parent
42172bdc97
commit
9fe83fa639
|
@ -130,7 +130,7 @@ static void modsec_log(void *obj, int level, char *str)
|
||||||
LOG(&null_worker, "%s", 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.
|
* initialisation fails.
|
||||||
*/
|
*/
|
||||||
int modsecurity_load(const char *file)
|
int modsecurity_load(const char *file)
|
||||||
|
@ -568,7 +568,7 @@ int modsecurity_process(struct worker *worker, struct modsecurity_parameters *pa
|
||||||
goto fail;
|
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);
|
data_bucket = apr_bucket_alloc(sizeof(*data_bucket), req->connection->bucket_alloc);
|
||||||
if (!data_bucket) {
|
if (!data_bucket) {
|
||||||
errno = ENOMEM;
|
errno = ENOMEM;
|
||||||
|
|
Loading…
Reference in New Issue