From b3dd064bcbdf76116f6ca255b9fcd222c0cb8975 Mon Sep 17 00:00:00 2001 From: Mark Michelson Date: Thu, 21 Feb 2008 20:12:38 +0000 Subject: [PATCH] Remove an incorrect 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 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@104026 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_zap.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/channels/chan_zap.c b/channels/chan_zap.c index aaf89cd9ab..8e1a275b73 100644 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -6938,8 +6938,6 @@ static void *do_monitor(void *data) } 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);