5 Apr
2000
5 Apr
'00
6:57 a.m.
Many of you reported that syslog-ng emits empty loglines beginning with 1.4.2. This patch should fix the problem: diff -u -r1.23.2.2 sources.c --- sources.c 2000/03/24 10:57:28 1.23.2.2 +++ sources.c 2000/04/05 05:54:05 @@ -118,7 +118,8 @@ length = end - start; - do_handle_line(closure, length, start, salen ? (abstract_addr *) &sabuf : NULL , salen); + if (length) + do_handle_line(closure, length, start, salen ? (abstract_addr *) &sabuf : NULL , salen); start = end + 1; #if 0 -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1 url: http://www.balabit.hu/pgpkey.txt
9271
Age (days ago)
9271
Last active (days ago)
0 comments
1 participants
participants (1)
-
Balazs Scheidler