[sr-dev] question regarding some very old code

Torrey Searle tsearle at gmail.com
Tue Nov 8 18:00:18 CET 2011


I have a question regarding the following code

in  modules/tm/t_reply.c

in the function t_reply_with_body()

I see the following code:


        /* this is ugly hack -- the function caller may wish to continue with
         * transaction and I unref; however, there is now only one use from
         * vm/fifo_vm_reply and I'm currently to lazy to export UNREF; -jiri
         */
        UNREF(trans);


I have found that the UNREF causes my code to crash if I try to use
t_reply_with_body()

Is it possible to remove this line without any ill effects? :-)

Regards,
Torrey



More information about the sr-dev mailing list