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 /apps/app_voicemail.c | |
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 'apps/app_voicemail.c')
-rw-r--r-- | apps/app_voicemail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 7b9a37dfd..dc2db6e0b 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -3607,7 +3607,7 @@ static int play_message_datetime(struct ast_channel *chan, struct ast_vm_user *v struct vm_zone *the_zone = NULL; time_t t; - if (ast_get_time_t(origtime, &t, 0)) { + if (ast_get_time_t(origtime, &t, 0, NULL)) { ast_log(LOG_WARNING, "Couldn't find origtime in %s\n", filename); return 0; } |