From ec57dc7ab76e5765bbd50905e47a1cac2aad38ba Mon Sep 17 00:00:00 2001 From: Steve Underwood Date: Sun, 2 Jan 2011 19:30:00 +0800 Subject: [PATCH] Added missing error codes when an ECM FAX is abandoned with the T30_ERR message --- libs/spandsp/src/t30.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/spandsp/src/t30.c b/libs/spandsp/src/t30.c index 45387b8585..aba4eef0eb 100644 --- a/libs/spandsp/src/t30.c +++ b/libs/spandsp/src/t30.c @@ -4275,6 +4275,7 @@ static void process_state_iv_eor(t30_state_t *s, const uint8_t *msg, int len) break; case T30_ERR: /* TODO: Continue with the next message if MPS or EOM? */ + s->current_status = T30_ERR_RETRYDCN; s->timer_t5 = 0; send_dcn(s); break; @@ -4319,6 +4320,7 @@ static void process_state_iv_eor_rnr(t30_state_t *s, const uint8_t *msg, int len break; case T30_ERR: /* TODO: Continue with the next message if MPS or EOM? */ + s->current_status = T30_ERR_RETRYDCN; s->timer_t5 = 0; send_dcn(s); break;