summaryrefslogtreecommitdiff
path: root/apps/app_voicemail2.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_voicemail2.c')
-rwxr-xr-xapps/app_voicemail2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail2.c b/apps/app_voicemail2.c
index 0db25adca..6ff1a016d 100755
--- a/apps/app_voicemail2.c
+++ b/apps/app_voicemail2.c
@@ -1955,7 +1955,7 @@ static int play_message_datetime(struct ast_channel *chan, struct ast_vm_user *v
/* Can't think of how other diffs might be helpful, but I'm sure somebody will think of something. */
#endif
if (the_zone)
- res = ast_say_date_with_format(chan, t, AST_DIGIT_ANY, chan->language, the_zone->msg_format, the_zone->timezone);
+ res = ast_say_date_with_format(chan, t, AST_DIGIT_ANY, chan->language, the_zone->msg_format, &(the_zone->timezone));
else
res = ast_say_date_with_format(chan, t, AST_DIGIT_ANY, chan->language, "'vm-received' q 'digits/at' IMp", NULL);
#if 0