[asterisk-commits] trunk - r8022 /trunk/apps/app_voicemail.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Jan 12 13:09:37 CST 2006


Author: mogorman
Date: Thu Jan 12 13:09:36 2006
New Revision: 8022

URL: http://svn.digium.com/view/asterisk?rev=8022&view=rev
Log:
Minor revisions from bug 6090

Modified:
    trunk/apps/app_voicemail.c

Modified: trunk/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_voicemail.c?rev=8022&r1=8021&r2=8022&view=diff
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Thu Jan 12 13:09:36 2006
@@ -340,7 +340,7 @@
 "    g(#) - Use the specified amount of gain when recording a voicemail\n"
 "           message. The units are whole-number decibels (dB).\n"
 "    s    - Skip checking the passcode for the mailbox.\n"
-"    a(#) - Skip folder prompt and go directly to folder specified, default 1\n";
+"    a(#) - Skip folder prompt and go directly to folder specified, defaults to 1\n";
 
 static char *synopsis_vm_box_exists =
 "Check to see if Voicemail mailbox exists";
@@ -5080,7 +5080,7 @@
 					LOCAL_USER_REMOVE(u);
 					return -1;
 				}
-				else if ( play_folder > 9 || play_folder < 1) {
+				else if ( play_folder > 9 || play_folder < 0) {
 					ast_log(LOG_WARNING, "Invalid value '%d' provided for folder autoplay option\n", play_folder);
 					LOCAL_USER_REMOVE(u);
 					return -1;



More information about the asterisk-commits mailing list