summaryrefslogtreecommitdiff
path: root/funcs
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2006-02-23 17:13:57 +0000
committerKevin P. Fleming <kpfleming@digium.com>2006-02-23 17:13:57 +0000
commit302c9430013d40e82a3e9925e96921ba40650db1 (patch)
treea6044b368ffd4c159c9584c7fcf17347cb8cee67 /funcs
parentc3447c7cce376c33d3ef7bf07ab5e4776f221534 (diff)
add 'consumed' argument to ast_get_time_t, so callers can know how many characters were used in the parser
update pbx_dundi to use ast_get_time_t eliminate some compiler warnings git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10871 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'funcs')
-rw-r--r--funcs/func_strings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/funcs/func_strings.c b/funcs/func_strings.c
index e24fc1ea4..26712f8d5 100644
--- a/funcs/func_strings.c
+++ b/funcs/func_strings.c
@@ -245,7 +245,7 @@ static int acf_strftime(struct ast_channel *chan, char *cmd, char *parse,
AST_STANDARD_APP_ARGS(args, parse);
- ast_get_time_t(args.epoch, &epochi, time(NULL));
+ ast_get_time_t(args.epoch, &epochi, time(NULL), NULL);
ast_localtime(&epochi, &tm, args.timezone);
if (!args.format)