From 4023f1d481ec8ee6a3b5fbe9e4220db0bfe2aa4a Mon Sep 17 00:00:00 2001 From: brarcher Date: Mon, 27 Jan 2014 03:18:24 +0000 Subject: [PATCH] change argument for 'close' from 2 -> 1 The close variable determines if the file will be closed after logging completes. It is used as a flag, and only really needs to be '0' or '1'. A value of '2' is just confusing. git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@1075 64e312b2-a51f-0410-8e61-82d0ca0eb02a --- src/check_log.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/check_log.c b/src/check_log.c index 520d07d..c9523c7 100644 --- a/src/check_log.c +++ b/src/check_log.c @@ -463,11 +463,11 @@ void srunner_init_logging (SRunner *sr, enum print_output print_mode) } f = srunner_open_xmlfile (sr); if (f) { - srunner_register_lfun (sr, f, 2, xml_lfun, print_mode); + srunner_register_lfun (sr, f, 1, xml_lfun, print_mode); } f = srunner_open_tapfile (sr); if (f) { - srunner_register_lfun (sr, f, 2, tap_lfun, print_mode); + srunner_register_lfun (sr, f, 1, tap_lfun, print_mode); } srunner_send_evt (sr, NULL, CLINITLOG_SR); } -- 2.40.0