diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2006-02-23 17:13:57 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2006-02-23 17:13:57 +0000 |
commit | 302c9430013d40e82a3e9925e96921ba40650db1 (patch) | |
tree | a6044b368ffd4c159c9584c7fcf17347cb8cee67 /res | |
parent | c3447c7cce376c33d3ef7bf07ab5e4776f221534 (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 'res')
-rw-r--r-- | res/res_agi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_agi.c b/res/res_agi.c index 5a2e5cc1f..874eb49b8 100644 --- a/res/res_agi.c +++ b/res/res_agi.c @@ -770,7 +770,7 @@ static int handle_saydatetime(struct ast_channel *chan, AGI *agi, int argc, char if (argc > 5 && !ast_strlen_zero(argv[5])) zone = argv[5]; - if (ast_get_time_t(argv[2], &unixtime, 0)) + if (ast_get_time_t(argv[2], &unixtime, 0, NULL)) return RESULT_SHOWUSAGE; res = ast_say_date_with_format(chan, unixtime, argv[3], chan->language, format, zone); |