[asterisk-commits] sgriepentrog: branch 1.8 r404456 - /branches/1.8/main/say.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Dec 20 15:12:48 CST 2013
Author: sgriepentrog
Date: Fri Dec 20 15:12:44 2013
New Revision: 404456
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=404456
Log:
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)
Modified:
branches/1.8/main/say.c
Modified: branches/1.8/main/say.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/main/say.c?view=diff&rev=404456&r1=404455&r2=404456
==============================================================================
--- branches/1.8/main/say.c (original)
+++ branches/1.8/main/say.c Fri Dec 20 15:12:44 2013
@@ -5667,12 +5667,12 @@
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;
one = tm.tm_sec % 10;
-
+
if (one > 1 && one < 5 && ten != 1)
res = wait_file(chan, ints, "digits/seconds", lang);
else
More information about the asterisk-commits
mailing list