diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-12-24 18:56:57 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-12-24 18:56:57 +0000 |
commit | c6898ca69dc1ba859d402d1bdd32b4c1cb74baa1 (patch) | |
tree | a618eafc783e94a0801ef0905dcdbc5e38632a23 /apps/app_voicemail.c | |
parent | 05c1466c552ff0085a191038e034030a3681d53e (diff) |
fix flag error (bug #3130)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4553 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_voicemail.c')
-rwxr-xr-x | apps/app_voicemail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index a1102ac09..8e6e41179 100755 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -475,7 +475,7 @@ static struct ast_vm_user *find_user(struct ast_vm_user *ivm, const char *contex vmu = malloc(sizeof(struct ast_vm_user)); if (vmu) { memcpy(vmu, cur, sizeof(struct ast_vm_user)); - ast_set2_flag(vmu, ivm, VM_ALLOCED); + ast_set2_flag(vmu, !ivm, VM_ALLOCED); vmu->next = NULL; } } else |