From 3b951e49bcd881852053a0bfb472d762466b1140 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Wed, 8 Jul 2009 16:59:49 +0000 Subject: [PATCH] oops, fixing build git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@205222 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/say.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/say.c b/main/say.c index 0d98ba38ae..1f0683ce1d 100644 --- a/main/say.c +++ b/main/say.c @@ -3453,7 +3453,7 @@ static int say_date_with_format(struct ast_channel *chan, time_t t, const char * if (deprecation_warning++ % 10 == 0) { ast_log(LOG_WARNING, "mx is not a standard language code. Please switch to using es_MX instead.\n"); } - return ast_say_date_with_format_es(chan, time, ints, lang, format, timezone); + return ast_say_date_with_format_es(chan, t, ints, lang, format, tzone); } else if (!strncasecmp(lang, "nl", 2)) { /* Dutch syntax */ return ast_say_date_with_format_nl(chan, t, ints, lang, format, tzone); } else if (!strncasecmp(lang, "pl", 2)) { /* Polish syntax */ @@ -3467,7 +3467,7 @@ static int say_date_with_format(struct ast_channel *chan, time_t t, const char * if (deprecation_warning++ % 10 == 0) { ast_log(LOG_WARNING, "tw is a standard language code for Twi, not Taiwanese. Please switch to using zh_TW instead.\n"); } - return ast_say_date_with_format_zh(chan, time, ints, lang, format, timezone); + return ast_say_date_with_format_zh(chan, t, ints, lang, format, tzone); } else if (!strncasecmp(lang, "zh", 2)) { /* Taiwanese / Chinese syntax */ return ast_say_date_with_format_zh(chan, t, ints, lang, format, tzone); }