Ignore:
Timestamp:
2006-10-05T22:55:54Z (18 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
090f1cb
Parents:
cc2cb2d
Message:

Added max. recursion depth arguments to xt_handle()/_cleanup() to make sure
commands that still have to be handled don't get (partially) cleaned up
already.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/io.c

    rcc2cb2d r101d84f  
    170170               
    171171                /* Execute all handlers. */
    172                 if( !xt_handle( jd->xt, NULL ) )
     172                if( !xt_handle( jd->xt, NULL, 1 ) )
    173173                {
    174174                        /* Don't do anything, the handlers should have
     
    184184               
    185185                /* Garbage collection. */
    186                 xt_cleanup( jd->xt, NULL );
     186                xt_cleanup( jd->xt, NULL, 1 );
    187187               
    188188                /* This is a bit hackish, unfortunately. Although xmltree
Note: See TracChangeset for help on using the changeset viewer.