mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2026-01-15 07:57:10 +03:00
Fix mlogc compilation error on windows
This commit is contained in:
@@ -422,11 +422,12 @@ static int read_queue_entries(apr_file_t *fd, apr_time_t *queue_time)
|
|||||||
char linebuf[4100];
|
char linebuf[4100];
|
||||||
int line_count = -1;
|
int line_count = -1;
|
||||||
int line_size = 0;
|
int line_size = 0;
|
||||||
|
apr_status_t rc = 0;
|
||||||
|
char *p = NULL;
|
||||||
|
|
||||||
for(;;) {
|
for(;;) {
|
||||||
memset(linebuf, 0, 4100);
|
memset(linebuf, 0, 4100);
|
||||||
apr_status_t rc = apr_file_gets(linebuf, 4096, fd);
|
rc = apr_file_gets(linebuf, 4096, fd);
|
||||||
char *p;
|
|
||||||
|
|
||||||
if (rc == APR_EOF) break;
|
if (rc == APR_EOF) break;
|
||||||
if (rc != APR_SUCCESS) {
|
if (rc != APR_SUCCESS) {
|
||||||
|
|||||||
Reference in New Issue
Block a user