Changeset 1bf1ae6
- Timestamp:
- 2007-11-14T23:09:22Z (17 years ago)
- Branches:
- master
- Children:
- cd428e4, ebb95b6
- Parents:
- be68d99
- Location:
- protocols/jabber
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/io.c
rbe68d99 r1bf1ae6 476 476 } 477 477 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 486 478 static const struct xt_handler_entry jabber_handlers[] = { 487 479 { "stream:stream", "<root>", jabber_end_of_stream }, … … 495 487 { "success", "stream:stream", sasl_pkt_result }, 496 488 { "failure", "stream:stream", sasl_pkt_result }, 497 { NULL, "stream:stream", jabber_pkt_misc },498 489 { NULL, NULL, NULL } 499 490 }; -
protocols/jabber/presence.c
rbe68d99 r1bf1ae6 128 128 /* What to do with it? */ 129 129 } 130 else131 {132 printf( "Received PRES from %s:\n", from );133 xt_print( node );134 }135 130 136 131 return XT_HANDLED; -
protocols/jabber/xmltree.c
rbe68d99 r1bf1ae6 305 305 } 306 306 307 #ifdef DEBUG 307 308 void xt_print( struct xt_node *node ) 308 309 { … … 355 356 printf( "</%s>\n", node->name ); 356 357 } 358 #endif 357 359 358 360 struct xt_node *xt_dup( struct xt_node *node )
Note: See TracChangeset
for help on using the changeset viewer.