From de90c1c695fe3740c965bd875beb53984a9fe87a Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Wed, 17 Oct 2012 18:02:10 +0000 Subject: [PATCH] Use parse_toggle_state() to get the global_toggle_state --- loadcfg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/loadcfg.c b/loadcfg.c index e893f77f..8975a1ed 100644 --- a/loadcfg.c +++ b/loadcfg.c @@ -1,4 +1,4 @@ -const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.130 2012/07/27 17:36:06 fabiankeil Exp $"; +const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.131 2012/10/05 12:16:23 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/loadcfg.c,v $ @@ -1340,7 +1340,7 @@ struct configuration_spec * load_config(void) * *************************************************************************/ #ifdef FEATURE_TOGGLE case hash_toggle : - global_toggle_state = atoi(arg); + global_toggle_state = parse_toggle_state(cmd, arg); break; #endif /* def FEATURE_TOGGLE */ -- 2.39.2