diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-02-23 17:13:57 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-02-23 17:13:57 +0000 |
commit | 9c4950dff36fc6083132969ac592045c5cda464e (patch) | |
tree | a6044b368ffd4c159c9584c7fcf17347cb8cee67 /funcs/func_strings.c | |
parent | efb2e34d2948dbc76d3be4a3a8805f7baba44bcc (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: http://svn.digium.com/svn/asterisk/trunk@10871 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs/func_strings.c')
-rw-r--r-- | funcs/func_strings.c | 2 |
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) |