summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2008-08-01 14:42:24 +0000
committerMark Michelson <mmichelson@digium.com>2008-08-01 14:42:24 +0000
commit577d6a5c7812713b99e7bc8a9a90a2c4cac2ec82 (patch)
treec6895d21415a6a8160b793d13b093467ff1eb896 /apps
parenta673e3d90ab21732e490e7ec99a8ae5f0a2d82f4 (diff)
IMAP-specific items must go in IMAP_STORAGE defines...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135068 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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);