[svn-commits] twilson: branch 1.4 r232165 - /branches/1.4/main/channel.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Tue Dec 1 22:05:13 CST 2009
Author: twilson
Date: Tue Dec 1 22:05:09 2009
New Revision: 232165
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=232165
Log:
Fix compiling without devmode
Modified:
branches/1.4/main/channel.c
Modified: branches/1.4/main/channel.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/main/channel.c?view=diff&rev=232165&r1=232164&r2=232165
==============================================================================
--- branches/1.4/main/channel.c (original)
+++ branches/1.4/main/channel.c Tue Dec 1 22:05:09 2009
@@ -2520,7 +2520,9 @@
ast_log(LOG_ERROR, "Found frame with src '%s' on channel '%s' with datalen zero, but non-null data pointer!\n", f->src, chan->name);
ast_frame_dump(chan->name, f, "<<");
#else
- ast_debug(3, "Found frame with src '%s' on channel '%s' with datalen zero, but non-null data pointer!\n", f->src, chan->name);
+ if (option_debug > 2) {
+ ast_log(LOG_DEBUG, "Found frame with src '%s' on channel '%s' with datalen zero, but non-null data pointer!\n", f->src, chan->name);
+ }
#endif
}
More information about the svn-commits
mailing list