[Syslog-ng-commit] syslog-ng--mainline: check that the value for time_sleep is less than 500msec

Balazs Scheidler bazsi at balabit.hu
Tue May 23 20:29:01 CEST 2006


Link: <http://intra.balabit/cgi-bin/viewarch.cgi/devel@balabit.hu--other-1/syslog-ng--mainline--2.0--patch-48>
Revision: syslog-ng--mainline--2.0--patch-48
Archive: devel at balabit.hu--other-1
Creator: Balazs Scheidler <bazsi at balabit.hu>
Date: Tue May 23 20:28:52 CEST 2006
Standard-date: 2006-05-23 18:28:52 GMT
Modified-files: ChangeLog src/cfg-grammar.y src/main.c
New-patches: devel at balabit.hu--other-1/syslog-ng--mainline--2.0--patch-48
Summary: check that the value for time_sleep is less than 500msec
Keywords: 

2006-05-23  Balazs Scheidler <bazsi at balabit.hu>

	* src/cfg-grammar.y (options_item, KW_TIME_SLEEP): check if the
	value is more than 500, and maximize its value in this case

	* src/main.c (main_loop_run): calculate timespec properly if
	time_sleep is more than 1 sec

Diff stats:
 ChangeLog         |   20 ++++++++++++++++++++
 src/cfg-grammar.y |   10 +++++++++-
 src/main.c        |    4 ++--
 3 files changed, 31 insertions(+), 3 deletions(-)


More information about the Syslog-ng-commit mailing list