From e61e34e8a1832e4dcf64957d6cf6723f54c735fd Mon Sep 17 00:00:00 2001 From: Luigi Rizzo Date: Fri, 21 Apr 2006 13:44:15 +0000 Subject: [PATCH] simplify pbx_builtin_execiftime git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21906 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- pbx.c | 50 ++++++++++++++++++++++---------------------------- 1 file changed, 22 insertions(+), 28 deletions(-) diff --git a/pbx.c b/pbx.c index b4066207ac..82d8ed37d4 100644 --- a/pbx.c +++ b/pbx.c @@ -5119,49 +5119,43 @@ static int pbx_builtin_gotoiftime(struct ast_channel *chan, void *data) */ static int pbx_builtin_execiftime(struct ast_channel *chan, void *data) { - int res = 0; - char *ptr1, *ptr2; + char *s, *appname; struct ast_timing timing; struct ast_app *app; - const char *usage = "ExecIfTime requires an argument:\n