[asterisk-commits] mmichelson: branch 1.4 r173396 - /branches/1.4/apps/app_chanspy.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Feb 4 11:44:48 CST 2009


Author: mmichelson
Date: Wed Feb  4 11:44:48 2009
New Revision: 173396

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=173396
Log:
Revert my previous change because it was stupid


Modified:
    branches/1.4/apps/app_chanspy.c

Modified: branches/1.4/apps/app_chanspy.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.4/apps/app_chanspy.c?view=diff&rev=173396&r1=173395&r2=173396
==============================================================================
--- branches/1.4/apps/app_chanspy.c (original)
+++ branches/1.4/apps/app_chanspy.c Wed Feb  4 11:44:48 2009
@@ -252,10 +252,8 @@
 	}
 	ast_mutex_unlock(&spyee_chanspy_ds->lock);
 
-	if (!spyee) {
-		ast_channel_unlock(spyee);
+	if (!spyee)
 		return 0;
-	}
 
 	/* We now hold the channel lock on spyee */
 




More information about the asterisk-commits mailing list