]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Remove an incorrect debug message. It reported that it had received a specific event...
authorMark Michelson <mmichelson@digium.com>
Thu, 21 Feb 2008 20:12:38 +0000 (20:12 +0000)
committerMark Michelson <mmichelson@digium.com>
Thu, 21 Feb 2008 20:12:38 +0000 (20:12 +0000)
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

index aaf89cd9ab209531c39784a71e6b2d55cadea803..8e1a275b73026c2389449bf702d6b540175be19e 100644 (file)
@@ -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);