summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/app_voicemail.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 6d52466a9..cb9028900 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -128,7 +128,6 @@ static char authpassword[42];
static int expungeonhangup = 1;
static int imapgreetings = 0;
-AST_MUTEX_DEFINE_STATIC(delimiter_lock);
static char delimiter = '\0';
struct vm_state;
@@ -9221,9 +9220,7 @@ void mm_notify(MAILSTREAM * stream, char *string, long errflg)
void mm_list(MAILSTREAM * stream, int delim, char *mailbox, long attributes)
{
if (delimiter == '\0') {
- ast_mutex_lock(&delimiter_lock);
delimiter = delim;
- ast_mutex_unlock(&delimiter_lock);
}
ast_debug(5, "Delimiter set to %c and mailbox %s\n",delim, mailbox);