[svn-commits] file: trunk r41596 - /trunk/main/channel.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Thu Aug 31 11:47:51 MST 2006


Author: file
Date: Thu Aug 31 13:47:51 2006
New Revision: 41596

URL: http://svn.digium.com/view/asterisk?rev=41596&view=rev
Log:
Don't fail the write if they try to write a NULL or IAX frame as we just ignore these.

Modified:
    trunk/main/channel.c

Modified: trunk/main/channel.c
URL: http://svn.digium.com/view/asterisk/trunk/main/channel.c?rev=41596&r1=41595&r2=41596&view=diff
==============================================================================
--- trunk/main/channel.c (original)
+++ trunk/main/channel.c Thu Aug 31 13:47:51 2006
@@ -2532,6 +2532,7 @@
 	case AST_FRAME_NULL:
 	case AST_FRAME_IAX:
 		/* Ignore these */
+		res = 0;
 		break;
 	default:
 		res = chan->tech->write(chan, f);



More information about the svn-commits mailing list