mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
STRFTIME() does not actually require an argument (issue 8540)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48382 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user