]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
oops, fixing build
authorTilghman Lesher <tilghman@meg.abyt.es>
Wed, 8 Jul 2009 16:59:49 +0000 (16:59 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Wed, 8 Jul 2009 16:59:49 +0000 (16:59 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@205222 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/say.c

index 0d98ba38ae7503e208385ba5fac9c27166fede99..1f0683ce1de3678678d0482a055ee6c04f547983 100644 (file)
@@ -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);
        }