aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-16 19:10:01 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-16 19:10:01 +0000
commitc2c14cf61252a9455a8f9144c0bc40dbc6a9a044 (patch)
treef70f10576778a8aa1a1fc6458f6e44ef86aceeb8 /apps
parent5c606f98a95db67f0400c15ffefda2a2ed24792a (diff)
Remove a pointless lock.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@85896 f38db490-d61c-443f-a65b-d21fe96a405b
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 fb39f3612..756dce48d 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -108,7 +108,6 @@ static char authuser[32];
static char authpassword[42];
static int expungeonhangup = 1;
-AST_MUTEX_DEFINE_STATIC(delimiter_lock);
static char delimiter = '\0';
struct vm_state;
@@ -8549,9 +8548,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);
}
if (option_debug > 4) {
ast_log(LOG_DEBUG, "Delimiter set to %c and mailbox %s\n",delim, mailbox);