fix breakage from new feature committed in r7995
authorRussell Bryant <russell@russellbryant.com>
Thu, 12 Jan 2006 18:35:03 +0000 (18:35 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 12 Jan 2006 18:35:03 +0000 (18:35 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8019 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index 8dff6af..4b8fc81 100644 (file)
@@ -128,8 +128,9 @@ enum {
 
 enum {
        OPT_ARG_RECORDGAIN = 0,
-       OPT_ARG_ARRAY_SIZE = 1,
-       OPT_ARG_PLAYFOLDER = 2,
+       OPT_ARG_PLAYFOLDER = 1,
+       /* This *must* be the last value in this enum! */
+       OPT_ARG_ARRAY_SIZE = 2,
 } vm_option_args;
 
 AST_APP_OPTIONS(vm_app_options, {