Changeset 1bf1ae6 for protocols


Ignore:
Timestamp:
2007-11-14T23:09:22Z (17 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
cd428e4, ebb95b6
Parents:
be68d99
Message:

Removed some debugging stuff that shouldn't have been here for a long time
already.

Location:
protocols/jabber
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/io.c

    rbe68d99 r1bf1ae6  
    476476}
    477477
    478 static xt_status jabber_pkt_misc( struct xt_node *node, gpointer data )
    479 {
    480         printf( "Received unknown packet:\n" );
    481         xt_print( node );
    482        
    483         return XT_HANDLED;
    484 }
    485 
    486478static const struct xt_handler_entry jabber_handlers[] = {
    487479        { "stream:stream",      "<root>",               jabber_end_of_stream },
     
    495487        { "success",            "stream:stream",        sasl_pkt_result },
    496488        { "failure",            "stream:stream",        sasl_pkt_result },
    497         { NULL,                 "stream:stream",        jabber_pkt_misc },
    498489        { NULL,                 NULL,                   NULL }
    499490};
  • protocols/jabber/presence.c

    rbe68d99 r1bf1ae6  
    128128                /* What to do with it? */
    129129        }
    130         else
    131         {
    132                 printf( "Received PRES from %s:\n", from );
    133                 xt_print( node );
    134         }
    135130       
    136131        return XT_HANDLED;
  • protocols/jabber/xmltree.c

    rbe68d99 r1bf1ae6  
    305305}
    306306
     307#ifdef DEBUG
    307308void xt_print( struct xt_node *node )
    308309{
     
    355356        printf( "</%s>\n", node->name );
    356357}
     358#endif
    357359
    358360struct xt_node *xt_dup( struct xt_node *node )
Note: See TracChangeset for help on using the changeset viewer.