• Stefan Knoblich's avatar
    ftmod_isdn: Handle zero length read correctly. · fc9ea9ea
    Stefan Knoblich 提交于
    ftmod_misdn currently returns len == 0 if the incoming message,
    that triggered the read() call, does not contain any data.
    Users of ftdm_channel_read() need to handle this case, or they
    may possibly end up in an endless loop.
    
    This patch reworks the ftdm_channel_read() handling in ftmod_isdn
    and prevents it from entering an endless loop. The read error counter
    is reset on first sucessful read w/ data.
    Signed-off-by: 's avatarStefan Knoblich <stkn@openisdn.net>
    fc9ea9ea
名称
最后提交
最后更新
..
ftmod_analog 正在载入提交数据...
ftmod_analog_em 正在载入提交数据...
ftmod_gsm 正在载入提交数据...
ftmod_isdn 正在载入提交数据...
ftmod_libpri 正在载入提交数据...
ftmod_misdn 正在载入提交数据...
ftmod_pika 正在载入提交数据...
ftmod_pritap 正在载入提交数据...
ftmod_r2 正在载入提交数据...
ftmod_sangoma_isdn 正在载入提交数据...
ftmod_sangoma_ss7 正在载入提交数据...
ftmod_skel 正在载入提交数据...
ftmod_wanpipe 正在载入提交数据...
ftmod_zt 正在载入提交数据...