diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-12-11 05:37:09 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-12-11 05:37:09 +0000 |
commit | 3422803c249b31a5038adf17f352764a152420a2 (patch) | |
tree | 0188fce8d9dc9d01d73cf42abb1aefbdf67f2a36 /funcs | |
parent | 51db1d927d83155d54d40d22f0984892824bb10e (diff) |
STRFTIME() does not actually require an argument (issue 8540)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48382 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs')
-rw-r--r-- | funcs/func_strings.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/funcs/func_strings.c b/funcs/func_strings.c index e9abe50c2..9f911dd71 100644 --- a/funcs/func_strings.c +++ b/funcs/func_strings.c @@ -421,12 +421,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); |