[asterisk-commits] trunk r12878 - /trunk/channels/chan_iax2.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Mar 14 09:00:09 MST 2006


Author: russell
Date: Tue Mar 14 10:00:06 2006
New Revision: 12878

URL: http://svn.digium.com/view/asterisk?rev=12878&view=rev
Log:
fix build without SCHED_MULTITHREADED defined (issue #6719)

Modified:
    trunk/channels/chan_iax2.c

Modified: trunk/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_iax2.c?rev=12878&r1=12877&r2=12878&view=diff
==============================================================================
--- trunk/channels/chan_iax2.c (original)
+++ trunk/channels/chan_iax2.c Tue Mar 14 10:00:06 2006
@@ -7919,7 +7919,9 @@
 		case IAX_IOSTATE_SCHEDREADY:
 			thread->actions++;
 			thread->iostate = IAX_IOSTATE_PROCESSING;
+#ifdef SCHED_MULTITHREAD
 			thread->schedfunc(thread->scheddata);
+#endif		
 			break;
 		}
 		time(&thread->checktime);



More information about the asterisk-commits mailing list