--- apps/app_voicemail.c 2005-08-01 03:30:37.000000000 +0200 +++ apps/app_voicemail.c.new 2005-08-01 03:28:35.000000000 +0200 @@ -3539,6 +3539,9 @@ if (vms->lastmsg <= -1) goto done; + if (vms->curbox) + return 0; + /* Get the deleted messages fixed */ if (vm_lock_path(vms->curdir)) return ERROR_LOCK_PATH;