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

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Jan 12 15:12:25 CST 2006


Author: tilghman
Date: Thu Jan 12 15:12:25 2006
New Revision: 8037

URL: http://svn.digium.com/view/asterisk?rev=8037&view=rev
Log:
Fix typos that caused voicemail not to compile.

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=8037&r1=8036&r2=8037&view=diff
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Thu Jan 12 15:12:25 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.
+"    a(#) - Skip folder prompt and go directly to folder specified.\n"
 "           Defaults to INBOX\n";
 
 static char *synopsis_vm_box_exists =
@@ -5065,7 +5065,7 @@
 			}
 			if (ast_test_flag(&flags, OPT_RECORDGAIN)) {
 				int gain;
-				if(opts[OPT_ARG__RECORDGAIN]) {
+				if(opts[OPT_ARG_RECORDGAIN]) {
 					if (sscanf(opts[OPT_ARG_RECORDGAIN], "%d", &gain) != 1) {
 						ast_log(LOG_WARNING, "Invalid value '%s' provided for record gain option\n", opts[OPT_ARG_RECORDGAIN]);
 						LOCAL_USER_REMOVE(u);



More information about the asterisk-commits mailing list