From: Jonathan Rose Date: Tue, 22 Jan 2013 22:05:14 +0000 (+0000) Subject: res_fax_spandsp: fix t38 transmission bug caused by not returning success X-Git-Tag: 11.3.0-rc1~3^2~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7d22a6af6b2023a2373e054947dc4c2ba61a46e;p=thirdparty%2Fasterisk.git 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) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@379949 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/res/res_fax_spandsp.c b/res/res_fax_spandsp.c index 906f13aa83..bc51f28c96 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;