mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-08 02:48:29 +00:00
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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user