summaryrefslogtreecommitdiff
path: root/apps/app_voicemail.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2006-01-12 21:12:25 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2006-01-12 21:12:25 +0000
commitbce06eff5be89551846ceedf54b14946b1ef8a44 (patch)
treef717fe36c12b09cf723b9c9d4c2d9a0c76f29c48 /apps/app_voicemail.c
parentac2732ef4e3c54bab42f1fa7cfb66c8412a1d92f (diff)
Fix typos that caused voicemail not to compile.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8037 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_voicemail.c')
-rw-r--r--apps/app_voicemail.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 60129e66d..f3d6c1df7 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -340,7 +340,7 @@ static char *descrip_vmain =
" 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 @@ static int vm_execmain(struct ast_channel *chan, void *data)
}
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);