diff options
author | Marius Tomaschewski <mt@suse.de> | 2008-09-10 11:53:34 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-09-10 11:53:34 +0200 |
commit | 7ad8addeb5b16669d67492188cb18646dd562484 (patch) | |
tree | 647e5d188fd81e322c6ccf57079f5840fe94fcb2 | |
parent | 8cb83af1118b633d88cd01fefe2571e91918a9f9 (diff) | |
download | rsyslog-7ad8addeb5b16669d67492188cb18646dd562484.tar.gz rsyslog-7ad8addeb5b16669d67492188cb18646dd562484.tar.xz rsyslog-7ad8addeb5b16669d67492188cb18646dd562484.zip |
bugfix: option value for legacy -a option could not be specified
resulting in strange operations.
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | syslogd.c | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -22,6 +22,9 @@ Version 3.18.4 (rgerhards), 2008-09-?? to the correct value of 8, which disables the functionality. This problem applied both to the main message queue and the action queues. Thanks to Raoul Bhatia for pointing out this problem. +- bugfix: option value for legacy -a option could not be specified, + resulting in strange operations. Thanks to Marius Tomaschewski + for the patch. --------------------------------------------------------------------------- Version 3.18.3 (rgerhards), 2008-08-18 - bugfix: imfile could cause a segfault upon rsyslogd HUP and termination @@ -3075,7 +3075,7 @@ int realMain(int argc, char **argv) * only when actually neeeded. * rgerhards, 2008-04-04 */ - while ((ch = getopt(argc, argv, "46aAc:def:g:hi:l:m:M:nopqQr::s:t:u:vwx")) != EOF) { + while ((ch = getopt(argc, argv, "46a:Ac:def:g:hi:l:m:M:nopqQr::s:t:u:vwx")) != EOF) { switch((char)ch) { case '4': case '6': |