[svn-commits] jpeeler: branch 1.6.1 r243292 - in /branches/1.6.1: ./ main/channel.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Tue Jan 26 12:26:13 CST 2010
Author: jpeeler
Date: Tue Jan 26 12:26:09 2010
New Revision: 243292
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=243292
Log:
Merged revisions 243266 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r243266 | jpeeler | 2010-01-26 12:20:55 -0600 (Tue, 26 Jan 2010) | 9 lines
Merged revisions 243258 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r243258 | jpeeler | 2010-01-26 12:19:10 -0600 (Tue, 26 Jan 2010) | 2 lines
Remove unnecessary code in ast_read as issue 16058 has been fully solved now.
........
................
Modified:
branches/1.6.1/ (props changed)
branches/1.6.1/main/channel.c
Propchange: branches/1.6.1/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.1/main/channel.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.1/main/channel.c?view=diff&rev=243292&r1=243291&r2=243292
==============================================================================
--- branches/1.6.1/main/channel.c (original)
+++ branches/1.6.1/main/channel.c Tue Jan 26 12:26:09 2010
@@ -3030,17 +3030,6 @@
ast_frame_dump(chan->name, f, "<<");
chan->fin = FRAMECOUNT_INC(chan->fin);
- if (f && f->frametype == AST_FRAME_CONTROL && f->subclass == AST_CONTROL_HOLD && f->datalen == 0 && f->data.ptr) {
- /* fix invalid pointer */
- f->data.ptr = NULL;
-#ifdef AST_DEVMODE
- ast_log(LOG_ERROR, "Found HOLD 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 HOLD frame with src '%s' on channel '%s' with datalen zero, but non-null data pointer!\n", f->src, chan->name);
-#endif
- }
-
done:
if (chan->music_state && chan->generator && chan->generator->digit && f && f->frametype == AST_FRAME_DTMF_END)
chan->generator->digit(chan, f->subclass);
More information about the svn-commits
mailing list