summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/app_sayunixtime.c4
-rw-r--r--apps/app_voicemail.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/app_sayunixtime.c b/apps/app_sayunixtime.c
index d3efc0101..09ba838f9 100644
--- a/apps/app_sayunixtime.c
+++ b/apps/app_sayunixtime.c
@@ -1,7 +1,7 @@
/*
* Asterisk -- An open source telephony toolkit.
*
- * Copyright (c) 2003 Tilghman Lesher. All rights reserved.
+ * Copyright (c) 2003, 2006 Tilghman Lesher. All rights reserved.
* Copyright (c) 2006 Digium, Inc.
*
* Tilghman Lesher <app_sayunixtime__200309@the-tilghman.com>
@@ -93,7 +93,7 @@ static int sayunixtime_exec(struct ast_channel *chan, void *data)
AST_STANDARD_APP_ARGS(args, parse);
- ast_get_time_t(args.timeval, &unixtime, time(NULL));
+ ast_get_time_t(args.timeval, &unixtime, time(NULL), NULL);
if (chan->_state != AST_STATE_UP)
res = ast_answer(chan);
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;
}