From e01d5d6cb58ecc7e690e7cd8f9cfd1efc100751b Mon Sep 17 00:00:00 2001
From: Tilghman Lesher <tilghman@meg.abyt.es>
Date: Wed, 8 Jul 2009 16:59:32 +0000
Subject: [PATCH] Oops, fixing build

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@205221 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 616e9d7285..6c58d9296c 100644
--- a/main/say.c
+++ b/main/say.c
@@ -3517,7 +3517,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 */
@@ -3531,7 +3531,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);
 	}
-- 
GitLab