[asterisk-commits] tilghman: branch 1.4 r79998 - /branches/1.4/apps/app_voicemail.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sun Aug 19 21:42:50 CDT 2007
Author: tilghman
Date: Sun Aug 19 21:42:49 2007
New Revision: 79998
URL: http://svn.digium.com/view/asterisk?view=rev&rev=79998
Log:
Missing curly braces. Oops. (Reported by snuffy via IRC)
Modified:
branches/1.4/apps/app_voicemail.c
Modified: branches/1.4/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_voicemail.c?view=diff&rev=79998&r1=79997&r2=79998
==============================================================================
--- branches/1.4/apps/app_voicemail.c (original)
+++ branches/1.4/apps/app_voicemail.c Sun Aug 19 21:42:49 2007
@@ -2864,11 +2864,12 @@
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(option_debug)
+ 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 (option_debug)
ast_log(LOG_DEBUG, "Greeting not retrieved from database, but found in file storage. Inserting into database\n");
store_file(prefile, vmu->mailbox, vmu->context, -1);
+ }
#endif
} else {
if (option_debug)
More information about the asterisk-commits
mailing list