[Freeswitch-branches] [commit] r10728 - freeswitch/branches/cseket/src/mod/applications/mod_voicemail

FreeSWITCH SVN cseket at freeswitch.org
Fri Dec 12 01:16:12 PST 2008


Author: cseket
Date: Fri Dec 12 04:16:12 2008
New Revision: 10728

Log:
deadlock version of MODAPP-177

Modified:
   freeswitch/branches/cseket/src/mod/applications/mod_voicemail/mod_voicemail.c

Modified: freeswitch/branches/cseket/src/mod/applications/mod_voicemail/mod_voicemail.c
==============================================================================
--- freeswitch/branches/cseket/src/mod/applications/mod_voicemail/mod_voicemail.c	(original)
+++ freeswitch/branches/cseket/src/mod/applications/mod_voicemail/mod_voicemail.c	Fri Dec 12 04:16:12 2008
@@ -816,7 +816,7 @@
 		profile->record_comment = switch_core_strdup(profile->pool, record_comment);
 		profile->record_copyright = switch_core_strdup(profile->pool, record_copyright);
 		switch_copy_string(profile->file_ext, file_ext, sizeof(profile->file_ext));
-		switch_mutex_init(&profile->mutex, SWITCH_MUTEX_UNNESTED, profile->pool);
+		switch_mutex_init(&profile->mutex, SWITCH_MUTEX_NESTED, profile->pool);
 
 		switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "Added Profile %s\n", profile->name);
 		if (oldprofile) {



More information about the Freeswitch-branches mailing list