[asterisk-commits] mmichelson: branch 1.4 r104026 - /branches/1.4/channels/chan_zap.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Feb 21 14:12:38 CST 2008


Author: mmichelson
Date: Thu Feb 21 14:12:38 2008
New Revision: 104026

URL: http://svn.digium.com/view/asterisk?view=rev&rev=104026
Log:
Remove a wrongful debug message. It reported that it had received a specific event and tried to report
which event was received. What actually was happening was that it was reporting the number of bytes returned
from a call to read().

Thanks to Jared Smith for bringing the issue up on IRC


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=104026&r1=104025&r2=104026
==============================================================================
--- branches/1.4/channels/chan_zap.c (original)
+++ branches/1.4/channels/chan_zap.c Thu Feb 21 14:12:38 2008
@@ -6938,8 +6938,6 @@
 					} else {
 						ast_log(LOG_WARNING, "Read failed with %d: %s\n", res, strerror(errno));
 					}
-					if (option_debug)
-						ast_log(LOG_DEBUG, "Monitor doohicky got event %s on channel %d\n", event2str(res), i->channel);
 					/* Don't hold iflock while handling init events -- race with chlock */
 					ast_mutex_unlock(&iflock);
 					handle_init_event(i, res);




More information about the asterisk-commits mailing list