mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 13:56:01 +03:00
Changed indentation
This commit is contained in:
parent
a61820fe2c
commit
746f57f963
@ -377,9 +377,9 @@ int json_process_chunk(modsec_rec *msr, const char *buf, unsigned int size, char
|
|||||||
} else {
|
} else {
|
||||||
if (msr->json->yajl_error) *error_msg = msr->json->yajl_error;
|
if (msr->json->yajl_error) *error_msg = msr->json->yajl_error;
|
||||||
else {
|
else {
|
||||||
char* yajl_err = yajl_get_error(msr->json->handle, 0, buf, size);
|
char* yajl_err = yajl_get_error(msr->json->handle, 0, buf, size);
|
||||||
*error_msg = apr_pstrdup(msr->mp, yajl_err);
|
*error_msg = apr_pstrdup(msr->mp, yajl_err);
|
||||||
yajl_free_error(msr->json->handle, yajl_err);
|
yajl_free_error(msr->json->handle, yajl_err);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user