aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authormogorman <mogorman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-12 19:09:36 +0000
committermogorman <mogorman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-12 19:09:36 +0000
commita570700f998ab53c0d3af00903daf8acc7d97f49 (patch)
treee945c5a36cc9b35bbc5ffe4062c0cb82335d74e0 /apps
parent19b72c2cb8738664ee2e8264087808d9d8e5b2c4 (diff)
Minor revisions from bug 6090
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8022 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-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 4b8fc814a..5825f92d1 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, 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 @@ static int vm_execmain(struct ast_channel *chan, void *data)
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;