aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorseanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b>2009-06-20 19:09:47 +0000
committerseanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b>2009-06-20 19:09:47 +0000
commit6668be953e8e291ea9a0c804cc5658e59fdbe6ba (patch)
treeb798469a68dd3a352a6dbef034a9d8803e1ac165
parent0699bad154c10539e31c46eeee1164990c955cbc (diff)
Fix version detection for API changes in spandsp.
(closes issue #15355) Reported by: deuffy git-svn-id: http://svn.digium.com/svn/asterisk/trunk@202183 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--apps/app_fax.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_fax.c b/apps/app_fax.c
index e2b7a90ee..951580dee 100644
--- a/apps/app_fax.c
+++ b/apps/app_fax.c
@@ -374,7 +374,7 @@ static int transmit_audio(fax_session *s)
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 @@ static int transmit_t38(fax_session *s)
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;