diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-10-16 19:12:24 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-10-16 19:12:24 +0000 |
commit | 81648dcc00a841198081546fc7e8aad7435cc911 (patch) | |
tree | 357058dca4e20b8de80153db0d89a5207fb70abe | |
parent | 88e35377fe84f06b5f16791674e1bd0ea95b2c63 (diff) |
Merged revisions 85896 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r85896 | russell | 2007-10-16 14:10:01 -0500 (Tue, 16 Oct 2007) | 2 lines
Remove a pointless lock.
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85897 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | apps/app_voicemail.c | 3 |
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); |