aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-08 22:33:59 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-08 22:33:59 +0000
commitc10d605e54f0d3755bc0a0c134e8364fc07d4c35 (patch)
tree05c2fee5f3e4a247cb8731da93257b37fe754553 /apps
parent02cd3d9528af67849b04f1d88c6753ac2423d7f0 (diff)
app_voicemail failed to build when compiling with IMAP_STORAGE
Now it does not. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89123 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_voicemail.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 6d4c46968..9b7787b3b 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -920,7 +920,6 @@ static void vm_change_password(struct ast_vm_user *vmu, const char *newpassword)
char *category=NULL, *value=NULL, *new=NULL;
const char *tmp=NULL;
struct ast_flags config_flags = { CONFIG_FLAG_WITHCOMMENTS };
-
if (!change_password_realtime(vmu, newpassword))
return;
@@ -8685,13 +8684,13 @@ static int advanced_options(struct ast_channel *chan, struct ast_vm_user *vmu, s
char buf[1024];
#else
char *cid;
+ struct ast_flags config_flags = { CONFIG_FLAG_NOCACHE };
#endif
char filename[PATH_MAX];
struct ast_config *msg_cfg = NULL;
const char *origtime, *context;
char *name, *num;
int retries = 0;
- struct ast_flags config_flags = { CONFIG_FLAG_NOCACHE };
vms->starting = 0;
#ifdef IMAP_STORAGE
@@ -9531,7 +9530,7 @@ static void vmstate_delete(struct vm_state *vms)
AST_LIST_LOCK(&vmstates);
AST_LIST_TRAVERSE_SAFE_BEGIN(&vmstates, vc, list) {
if (vc->vms == vms) {
- AST_LIST_REMOVE_CURRENT(&vmstates, list);
+ AST_LIST_REMOVE_CURRENT(list);
break;
}
}