[Asterisk-cvs] asterisk/channels chan_iax2.c,1.261,1.262

markster at lists.digium.com markster at lists.digium.com
Thu Mar 31 13:36:26 CST 2005


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv25585/channels

Modified Files:
	chan_iax2.c 
Log Message:
Fix IAX2 out of memory failure (bug #3907)


Index: chan_iax2.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_iax2.c,v
retrieving revision 1.261
retrieving revision 1.262
diff -u -d -r1.261 -r1.262
--- chan_iax2.c	29 Mar 2005 23:20:31 -0000	1.261
+++ chan_iax2.c	31 Mar 2005 19:29:54 -0000	1.262
@@ -1054,7 +1054,7 @@
 		/* We've still got lock held if we found a spot */
 		if (x >= TRUNK_CALL_START) {
 			ast_log(LOG_WARNING, "No more space\n");
-			return -1;
+			return 0;
 		}
 		iaxs[x] = new_iax(sin, lockpeer, host);
 		update_max_nontrunk();




More information about the svn-commits mailing list