[svn-commits] mmichelson: trunk r89123 - /trunk/apps/app_voicemail.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Nov 8 16:34:00 CST 2007


Author: mmichelson
Date: Thu Nov  8 16:33:59 2007
New Revision: 89123

URL: http://svn.digium.com/view/asterisk?view=rev&rev=89123
Log:
app_voicemail failed to build when compiling with IMAP_STORAGE

Now it does not.


Modified:
    trunk/apps/app_voicemail.c

Modified: trunk/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_voicemail.c?view=diff&rev=89123&r1=89122&r2=89123
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Thu Nov  8 16:33:59 2007
@@ -920,7 +920,6 @@
 	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 @@
 	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 @@
 	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;
 		}
 	}




More information about the svn-commits mailing list