#243 tm module socket write problems

1.6.x
closed-fixed
modules (454)
5
2010-01-05
2010-01-03
No

Found that the documentation refers to function as t_write_fifo but code exports function as t_write_req.

Function fixup_t_write (line 300 in t_fifo.c) checks param_no against 2 but should be checked for 1.

Function t_write_fifo fails with "t_get_trans_ident failed" on line 504 of t_fifo.c.

Discussion

  • Bogdan-Andrei Iancu

    • milestone: --> 1.6.x
    • assigned_to: nobody --> bogdan_iancu
    • status: open --> open-fixed
     
  • Bogdan-Andrei Iancu

    Hi Richard,

    I fixed the docs t_write_fifo -> t_write_req (the web pages will be updated over the night)

    Also, you are right about the fixup function - it was fixing the wrong param.

    Regarding the "t_get_trans_ident failed" error, do you create the transaction (from script via t_newtran) before running the t_write_req() function ?

    Thanks and Regards,
    Bogdan

     
  • Richard Revels

    Richard Revels - 2010-01-04

    Well no. I wasn't. For some reason I was thinking that calling create_dialog() would have the side effect of also creating the transaction. Now that I am calling t_newtran() I am no longer getting the error looking up the transaction. I am getting a "buffer overflow while copying command name" now but I need to make sure that isn't being caused by any code changes I made earlier. Thank you for your assistance!

    Richard

     
  • Bogdan-Andrei Iancu

    OK - if there any other related issues, please reopen the report or create a new one.

    Thanks and regards,
    Bogdan

     
  • Bogdan-Andrei Iancu

    • status: open-fixed --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks