[asterisk-commits] russell: trunk r85897 - in /trunk: ./ apps/app_voicemail.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Oct 16 14:12:24 CDT 2007
Author: russell
Date: Tue Oct 16 14:12:24 2007
New Revision: 85897
URL: http://svn.digium.com/view/asterisk?view=rev&rev=85897
Log:
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.
........
Modified:
trunk/ (props changed)
trunk/apps/app_voicemail.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_voicemail.c?view=diff&rev=85897&r1=85896&r2=85897
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Tue Oct 16 14:12:24 2007
@@ -128,7 +128,6 @@
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_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);
More information about the asterisk-commits
mailing list