]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
res_fax_spandsp: fix t38 transmission bug caused by not returning success
authorJonathan Rose <jrose@digium.com>
Tue, 22 Jan 2013 22:19:02 +0000 (22:19 +0000)
committerJonathan Rose <jrose@digium.com>
Tue, 22 Jan 2013 22:19:02 +0000 (22:19 +0000)
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

res/res_fax_spandsp.c

index 906f13aa83f2eb1850d7c8c3050c99c463ec4464..bc51f28c9627c1c23d5a42bddd2426bc6bc1801c 100644 (file)
@@ -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;