[svn-commits] tilghman: trunk r79999 - in /trunk: ./ apps/app_voicemail.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Sun Aug 19 21:46:02 CDT 2007


Author: tilghman
Date: Sun Aug 19 21:46:02 2007
New Revision: 79999

URL: http://svn.digium.com/view/asterisk?view=rev&rev=79999
Log:
Merged revisions 79998 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r79998 | tilghman | 2007-08-19 21:42:49 -0500 (Sun, 19 Aug 2007) | 2 lines

Missing curly braces.  Oops.  (Reported by snuffy via IRC)

........

Modified:
    trunk/   (props changed)
    trunk/apps/app_voicemail.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_voicemail.c?view=diff&rev=79999&r1=79998&r2=79999
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Sun Aug 19 21:46:02 2007
@@ -3063,10 +3063,11 @@
 			if (ast_streamfile(chan, prefile, chan->language) > -1) 
 				res = ast_waitstream(chan, ecodes);
 #ifdef ODBC_STORAGE
-			if(success == -1) 
-				/*We couldn't retrieve the file from the database, but we found it on the file system. Let's put it in the database*/
+			if (success == -1) {
+				/* We couldn't retrieve the file from the database, but we found it on the file system. Let's put it in the database. */
 				ast_debug(1, "Greeting not retrieved from database, but found in file storage. Inserting into database\n");
 				store_file(prefile, vmu->mailbox, vmu->context, -1);
+			}
 #endif
 		} else {
 			ast_debug(1, "%s doesn't exist, doing what we can\n", prefile);




More information about the svn-commits mailing list