From 302c9430013d40e82a3e9925e96921ba40650db1 Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Thu, 23 Feb 2006 17:13:57 +0000 Subject: 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 --- res/res_agi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'res/res_agi.c') 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); -- cgit v1.2.3