From f9e3ed614837f323a6db60a2c4eb87465ad0e1a2 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Sun, 27 Apr 2008 16:20:19 +0000 Subject: [PATCH] Complain about every block action without reason found. --- actions.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/actions.c b/actions.c index 2f877685..bbb1cb95 100644 --- a/actions.c +++ b/actions.c @@ -1,4 +1,4 @@ -const char actions_rcs[] = "$Id: actions.c,v 1.49 2008/03/29 12:13:45 fabiankeil Exp $"; +const char actions_rcs[] = "$Id: actions.c,v 1.50 2008/03/30 14:52:00 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/actions.c,v $ @@ -33,6 +33,10 @@ const char actions_rcs[] = "$Id: actions.c,v 1.49 2008/03/29 12:13:45 fabiankeil * * Revisions : * $Log: actions.c,v $ + * Revision 1.50 2008/03/30 14:52:00 fabiankeil + * Rename load_actions_file() and load_re_filterfile() + * as they load multiple files "now". + * * Revision 1.49 2008/03/29 12:13:45 fabiankeil * Remove send-wafer and send-vanilla-wafer actions. * @@ -753,16 +757,12 @@ jb_err get_actions(char *line, { /* * XXX: Temporary backwards compatibility hack. + * XXX: should include line number. */ - static int complaint_shown = 0; value = "No reason specified."; - if (!complaint_shown) - { - log_error(LOG_LEVEL_ERROR, "At least one block " - "without reason found. This may become a fatal " - "error in future versions."); - complaint_shown = 1; - } + log_error(LOG_LEVEL_ERROR, "block action without " + "reason found. This may become a fatal error" + "in future versions."); } else { -- 2.39.2