[asterisk-commits] russell: trunk r85718 - in /trunk: ./ main/say.c
    SVN commits to the Asterisk project 
    asterisk-commits at lists.digium.com
       
    Mon Oct 15 16:01:00 CDT 2007
    
    
  
Author: russell
Date: Mon Oct 15 16:01:00 2007
New Revision: 85718
URL: http://svn.digium.com/view/asterisk?view=rev&rev=85718
Log:
Merged revisions 85686 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r85686 | russell | 2007-10-15 15:21:27 -0500 (Mon, 15 Oct 2007) | 7 lines
Add a small fix for the tw version of saying dates.
(closes issue #7827)
Reported by: sharkey
Patches: 
      say.nits.patch uploaded by sharkey (license 172)
........
Modified:
    trunk/   (props changed)
    trunk/main/say.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/main/say.c
URL: http://svn.digium.com/view/asterisk/trunk/main/say.c?view=diff&rev=85718&r1=85717&r2=85718
==============================================================================
--- trunk/main/say.c (original)
+++ trunk/main/say.c Mon Oct 15 16:01:00 2007
@@ -5623,13 +5623,9 @@
 			case 'B':
 			case 'b':
 			case 'h':
+			case 'm':
 				/* January - December */
 				snprintf(nextmsg,sizeof(nextmsg), "digits/mon-%d", tm.tm_mon);
-				res = wait_file(chan,ints,nextmsg,lang);
-				break;
-			case 'm':
-				/* First - Twelfth */
-				snprintf(nextmsg,sizeof(nextmsg), "digits/h-%d", tm.tm_mon +1);
 				res = wait_file(chan,ints,nextmsg,lang);
 				break;
 			case 'd':
@@ -5646,7 +5642,7 @@
 						res = wait_file(chan,ints,nextmsg,lang);
 					}
 				}
-                if(!res) res = wait_file(chan,ints,"ri",lang);
+				if(!res) res = wait_file(chan,ints,"digits/day",lang);
 				break;
 			case 'Y':
 				/* Year */
    
    
More information about the asterisk-commits
mailing list