aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-08-01 14:42:24 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-08-01 14:42:24 +0000
commit1f44a9d097837f8f2d2246d878af9ccf752b3a13 (patch)
treec6895d21415a6a8160b793d13b093467ff1eb896 /apps
parentc292249e70b1271cc68195b08f0d443be388554a (diff)
IMAP-specific items must go in IMAP_STORAGE defines...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@135068 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_voicemail.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 17f5e3767..9df3d4f12 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -9582,8 +9582,9 @@ static int load_config(int reload)
ast_clear_flag(&config_flags, CONFIG_FLAG_FILEUNCHANGED);
ucfg = ast_config_load("users.conf", config_flags);
}
-
+#ifdef IMAP_STORAGE
ast_copy_string(imapparentfolder, "\0", sizeof(imapparentfolder));
+#endif
/* set audio control prompts */
strcpy(listen_control_forward_key,DEFAULT_LISTEN_CONTROL_FORWARD_KEY);
strcpy(listen_control_reverse_key,DEFAULT_LISTEN_CONTROL_REVERSE_KEY);