[sr-dev] git:master: tmx: documentation for t_precheck_trans()

Juha Heinanen jh at tutpro.com
Tue Aug 19 09:07:09 CEST 2014


Daniel-Constantin Mierla writes:

> +   Example 1.11. t_precheck_trans usage
> +...
> +    # handle retransmissions
> +    if(t_precheck_trans()) {
> +        t_check_trans();
> +        exit;
> +    }
> +    t_check_trans();

why t_check_trans() is called when t_precheck_trans() returns true?  why
exit is not enough?

-- juha



More information about the sr-dev mailing list