From 8318e71939905f0fb2eafb96276e0aceef5e2cab Mon Sep 17 00:00:00 2001 From: Rodgger Date: Thu, 17 Nov 2022 13:37:57 -0500 Subject: [PATCH] =?UTF-8?q?retirar=20debug=20ocupa=20muito=20espa=C3=A7o?= =?UTF-8?q?=20no=20disco?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/parse_actions.c | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/src/parse_actions.c b/src/parse_actions.c index 206cfbc..01b7aa1 100644 --- a/src/parse_actions.c +++ b/src/parse_actions.c @@ -132,9 +132,7 @@ int timeout_actionid( s_manager *smanager ){ if(_timeout_actiond[i].restart == 1){ create_action(_timeout_actiond[i].method_action, smanager, NULL); } - #ifdef DEBUG - print_actionid(smanager->list_actionid); - #endif + break; } } @@ -268,24 +266,3 @@ int set_value_actionid( s_actionid *actionid, const char *method_name, const cha return 0; } -int print_actionid( s_actionid *actionid ){ - - - _NOTICE("actionid {"); - while( actionid ){ - - _NOTICE("name_action ->%s ", actionid->name_action ); - _NOTICE("use_time ->%d ", actionid->use_time ); - _NOTICE("restart ->%d ", actionid->restart ); - _NOTICE("actionid_value ->%s ", actionid->actionid_value ); - _NOTICE("\n"); - - actionid = actionid->next; - } - - _NOTICE("}}}}}}}}}}}}\n" ); - - return 0; -} - -