[svn-commits] mmichelson: branch 1.4 r104027 - /branches/1.4/channels/chan_zap.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Feb 21 15:05:43 CST 2008


Author: mmichelson
Date: Thu Feb 21 15:05:42 2008
New Revision: 104027

URL: http://svn.digium.com/view/asterisk?view=rev&rev=104027
Log:
And as a followup to revision 104026, completely remove event-related
calls from a section of code where we know there was no event to handle or get.


Modified:
    branches/1.4/channels/chan_zap.c

Modified: branches/1.4/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_zap.c?view=diff&rev=104027&r1=104026&r2=104027
==============================================================================
--- branches/1.4/channels/chan_zap.c (original)
+++ branches/1.4/channels/chan_zap.c Thu Feb 21 15:05:42 2008
@@ -6938,10 +6938,6 @@
 					} else {
 						ast_log(LOG_WARNING, "Read failed with %d: %s\n", res, strerror(errno));
 					}
-					/* Don't hold iflock while handling init events -- race with chlock */
-					ast_mutex_unlock(&iflock);
-					handle_init_event(i, res);
-					ast_mutex_lock(&iflock);	
 				}
 				if (pollres & POLLPRI) {
 					if (i->owner || i->subs[SUB_REAL].owner) {




More information about the svn-commits mailing list