From: Ilya Shipitsin <chipits...@gmail.com> --- src/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/log.c b/src/log.c index ef999d13..7f966f19 100644 --- a/src/log.c +++ b/src/log.c @@ -1868,7 +1868,7 @@ int init_log_buffers() logheader_rfc5424_end = NULL; logline = my_realloc2(logline, global.max_syslog_len + 1); logline_rfc5424 = my_realloc2(logline_rfc5424, global.max_syslog_len + 1); - if (!logheader || !logline_rfc5424 || !logline || !logline_rfc5424) + if (!logheader || !logline_rfc5424 || !logline) return 0; return 1; } -- 2.20.1