aboutsummaryrefslogtreecommitdiffstats
path: root/funcs
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-12-11 05:40:38 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-12-11 05:40:38 +0000
commit101927e5b1325168ab7f2d20742cdbbebeb0519d (patch)
treea8d3883cc4201b5574d0ccf6132b6900c8fad06e /funcs
parentc46e0fcc8c712c5fbf46fe03148413b2f248d73d (diff)
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: http://svn.digium.com/svn/asterisk/trunk@48384 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs')
-rw-r--r--funcs/func_strings.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/funcs/func_strings.c b/funcs/func_strings.c
index 6f7b54902..47b7806ab 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);