From 803597956a30972050ba743655d440fc4a55d8e1 Mon Sep 17 00:00:00 2001
From: Steve Underwood <steveu@coppice.org>
Date: Mon, 7 Jun 2010 22:33:14 +0800
Subject: [PATCH] fax_rx_fillin() return value fixed

---
 libs/spandsp/src/fax.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libs/spandsp/src/fax.c b/libs/spandsp/src/fax.c
index 9a68609e92..99808d86ef 100644
--- a/libs/spandsp/src/fax.c
+++ b/libs/spandsp/src/fax.c
@@ -324,7 +324,7 @@ SPAN_DECLARE(int) fax_rx_fillin(fax_state_t *s, int len)
     /* Call the fillin function of the current modem (if there is one). */
     s->modems.rx_fillin_handler(s->modems.rx_user_data, len);
     t30_timer_update(&s->t30, len);
-    return len;
+    return 0;
 }
 /*- End of function --------------------------------------------------------*/