[JDEV] about example transport

Keith Minkler keith at digix.dyndns.org
Thu Jan 4 14:00:38 CST 2001


Hey,

    That allone shouldn't cause a core, and should have the effect you were looking for... there must be something else that was changed,  also, you should look at the xdb code.. i think it may be wrong in example-transport.. the xdb_get MUST free the returned xmlnode, and xdb_set MUST free the xmlnode ONLY if 1 is returned from the function call..  

    I will check the example-transport code in CVs, but you should check yours in the meantime

    Keith Minkler


On Wed, Jan 03, 2001 at 04:18:44AM -0000, dbl at 5dwap.com wrote:
> Hi:
>   Recently , I try to change the example transport's code
>   example transport's original capability is only echo back to the
>   sender.
>   I change the parser.c's function - example_parse_message() 
>   First I comment  the jutil_tofrom(jp->x) this line to disable the swap
>   of to and from fields;
> 
>   Hope the message will be delivered to the target user.
>   But this change always make the jabberd crash
>   are there anything I miss ?
>   Hope somebody's help
>   thanks anyway.......
> 
>   Jlh
>   regards
> 
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <https://www.jabber.org/jdev/attachments/20010104/73e3c606/attachment-0002.pgp>


More information about the JDev mailing list