summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2006-02-15 23:00:07 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2006-02-15 23:00:07 +0000
commit6f8cdb5c03473be8ebced54acf4303ed782cd010 (patch)
tree4e58b3d22cb9f68099d45ec69a30dd212a857c71 /apps
parenta0d438fb6c361fee8463fb8426889bf0493eb001 (diff)
Define the initial values separate from the STATIC definitions
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10255 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-rw-r--r--apps/app_voicemail.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index b031525fb..28bd9a85d 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -3355,8 +3355,8 @@ static int forward_message(struct ast_channel *chan, char *context, char *dir, i
char callerid[512];
char ext_context[256]="";
int res = 0, cmd = 0;
- struct ast_vm_user *receiver, *vmtmp;
- AST_LIST_HEAD_NOLOCK(extension, ast_vm_user) extensions;
+ struct ast_vm_user *receiver = NULL, *vmtmp;
+ AST_LIST_HEAD_NOLOCK_STATIC(extensions, ast_vm_user);
char tmp[256];
char *stringp, *s;
int saved_messages = 0, found = 0;