From: Tilghman Lesher Date: Mon, 11 Dec 2006 05:40:38 +0000 (+0000) Subject: Merged revisions 48382 via svnmerge from X-Git-Tag: 1.6.0-beta1~3^2~3756 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=496d3e72f252c34e7f8953c17d7438d375f56d0b;p=thirdparty%2Fasterisk.git Merged revisions 48382 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r48382 | tilghman | 2006-12-10 23:37:09 -0600 (Sun, 10 Dec 2006) | 2 lines STRFTIME() does not actually require an argument (issue 8540) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48384 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/funcs/func_strings.c b/funcs/func_strings.c index 6f7b54902f..47b7806abf 100644 --- a/funcs/func_strings.c +++ b/funcs/func_strings.c @@ -425,12 +425,6 @@ static int acf_strftime(struct ast_channel *chan, char *cmd, char *parse, buf[0] = '\0'; - if (ast_strlen_zero(parse)) { - ast_log(LOG_ERROR, - "Asterisk function STRFTIME() requires an argument.\n"); - return -1; - } - AST_STANDARD_APP_ARGS(args, parse); ast_get_time_t(args.epoch, &epochi, time(NULL), NULL);