summaryrefslogtreecommitdiff
path: root/res/res_fax_spandsp.c
diff options
context:
space:
mode:
authorJonathan Rose <jrose@digium.com>2013-01-22 22:19:02 +0000
committerJonathan Rose <jrose@digium.com>2013-01-22 22:19:02 +0000
commit945fc670f9e00028523385ed9e7efedc49d45fa3 (patch)
tree5b48c08b8040913b6061e1f4b0d72f6b4d59a6a5 /res/res_fax_spandsp.c
parentdf7b335eada8a67f89170b228bb847cfae31ca8c (diff)
res_fax_spandsp: fix t38 transmission bug caused by not returning success
This patch fixes the problem, but the issue includes a test which is still being considered for the automated test suite. (issue ASTERISK-20919) Reported by: NITESH BANSAL Patches: patch_ast_fax_spandsp.patch uploaded by NITESH BANSAL (license 6418) ........ Merged revisions 379949 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@379950 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_fax_spandsp.c')
-rw-r--r--res/res_fax_spandsp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/res/res_fax_spandsp.c b/res/res_fax_spandsp.c
index 906f13aa8..bc51f28c9 100644
--- a/res/res_fax_spandsp.c
+++ b/res/res_fax_spandsp.c
@@ -227,6 +227,7 @@ static int t38_tx_packet_handler(t38_core_state_t *t38_core_state, void *data, c
} else {
/* no need to lock, this all runs in the same thread */
AST_LIST_INSERT_TAIL(&p->read_frames, f, frame_list);
+ res = 0;
}
return res;