diff options
author | Russell Bryant <russell@russellbryant.com> | 2004-12-24 18:56:57 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2004-12-24 18:56:57 +0000 |
commit | a84da8a0b924becf3d65092e7d2668aac1c42f11 (patch) | |
tree | a618eafc783e94a0801ef0905dcdbc5e38632a23 /apps | |
parent | 713a2eb0721a06f10fe0b13d3123446675927f05 (diff) |
fix flag error (bug #3130)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4553 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-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 |