mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-01 19:43:03 +00:00
Fix typos that caused voicemail not to compile.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8037 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -340,7 +340,7 @@ static char *descrip_vmain =
|
|||||||
" g(#) - Use the specified amount of gain when recording a voicemail\n"
|
" g(#) - Use the specified amount of gain when recording a voicemail\n"
|
||||||
" message. The units are whole-number decibels (dB).\n"
|
" message. The units are whole-number decibels (dB).\n"
|
||||||
" s - Skip checking the passcode for the mailbox.\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";
|
" Defaults to INBOX\n";
|
||||||
|
|
||||||
static char *synopsis_vm_box_exists =
|
static char *synopsis_vm_box_exists =
|
||||||
@@ -5065,7 +5065,7 @@ static int vm_execmain(struct ast_channel *chan, void *data)
|
|||||||
}
|
}
|
||||||
if (ast_test_flag(&flags, OPT_RECORDGAIN)) {
|
if (ast_test_flag(&flags, OPT_RECORDGAIN)) {
|
||||||
int gain;
|
int gain;
|
||||||
if(opts[OPT_ARG__RECORDGAIN]) {
|
if(opts[OPT_ARG_RECORDGAIN]) {
|
||||||
if (sscanf(opts[OPT_ARG_RECORDGAIN], "%d", &gain) != 1) {
|
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]);
|
ast_log(LOG_WARNING, "Invalid value '%s' provided for record gain option\n", opts[OPT_ARG_RECORDGAIN]);
|
||||||
LOCAL_USER_REMOVE(u);
|
LOCAL_USER_REMOVE(u);
|
||||||
|
|||||||
Reference in New Issue
Block a user