From: Scott Griepentrog Date: Fri, 20 Dec 2013 21:15:41 +0000 (+0000) Subject: say.c: correct time for polish X-Git-Tag: 11.8.0-rc1~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7a03cc9686ac6a046d2c7e9b0dd4923d16c0446;p=thirdparty%2Fasterisk.git say.c: correct time for polish In ast_say_date_with_format_pl(), change ast_say_number() to use tm_sec instead of tm_mn. (closes issue ASTERISK-22856) Reported by: Robert Mordec Review: https://reviewboard.asterisk.org/r/3082/ Patches: say.c.patch uploaded by veilen (license 6555) ........ Merged revisions 404456 from http://svn.asterisk.org/svn/asterisk/branches/1.8 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@404457 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/say.c b/main/say.c index 295d4110f4..b91af1b912 100644 --- a/main/say.c +++ b/main/say.c @@ -5681,7 +5681,7 @@ int ast_say_date_with_format_pl(struct ast_channel *chan, time_t thetime, const if (!res) res = wait_file(chan, ints, "digits/second-a", lang); } else { - res = ast_say_number(chan, tm.tm_min, ints, lang, "f"); + res = ast_say_number(chan, tm.tm_sec, ints, lang, "f"); if (!res) { int ten, one; ten = tm.tm_sec / 10;