[asterisk-commits] seanbright: trunk r202183 - /trunk/apps/app_fax.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Jun 20 14:09:52 CDT 2009


Author: seanbright
Date: Sat Jun 20 14:09:47 2009
New Revision: 202183

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=202183
Log:
Fix version detection for API changes in spandsp.

(closes issue #15355)
Reported by: deuffy

Modified:
    trunk/apps/app_fax.c

Modified: trunk/apps/app_fax.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/apps/app_fax.c?view=diff&rev=202183&r1=202182&r2=202183
==============================================================================
--- trunk/apps/app_fax.c (original)
+++ trunk/apps/app_fax.c Sat Jun 20 14:09:47 2009
@@ -374,7 +374,7 @@
 	struct timeval now, start, state_change;
 	enum ast_control_t38 t38control;
 
-#if SPANDSP_RELEASE_DATE >= 20081012
+#if SPANDSP_RELEASE_DATE >= 20080725
         /* for spandsp shaphots 0.0.6 and higher */
         t30state = &fax.t30;
 #else
@@ -553,7 +553,7 @@
 	t30_state_t *t30state;
 	t38_core_state_t *t38state;
 
-#if SPANDSP_RELEASE_DATE >= 20081012
+#if SPANDSP_RELEASE_DATE >= 20080725
 	/* for spandsp shaphots 0.0.6 and higher */
 	t30state = &t38.t30;
 	t38state = &t38.t38_fe.t38;




More information about the asterisk-commits mailing list