aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/io.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2007-11-14 23:09:22 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2007-11-14 23:09:22 +0000
commit1bf1ae6f25ff56894d67999791802aa864eaa02b (patch)
tree529f605b70680c34e7452c9f6ed14cc33ce83fca /protocols/jabber/io.c
parentbe68d99a58721768033c83d2f0a8f26e1af9bd73 (diff)
Removed some debugging stuff that shouldn't have been here for a long time
already.
Diffstat (limited to 'protocols/jabber/io.c')
-rw-r--r--protocols/jabber/io.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/protocols/jabber/io.c b/protocols/jabber/io.c
index 67deb3a6..925463a4 100644
--- a/protocols/jabber/io.c
+++ b/protocols/jabber/io.c
@@ -475,14 +475,6 @@ static xt_status jabber_pkt_stream_error( struct xt_node *node, gpointer data )
return XT_ABORT;
}
-static xt_status jabber_pkt_misc( struct xt_node *node, gpointer data )
-{
- printf( "Received unknown packet:\n" );
- xt_print( node );
-
- return XT_HANDLED;
-}
-
static const struct xt_handler_entry jabber_handlers[] = {
{ "stream:stream", "<root>", jabber_end_of_stream },
{ "message", "stream:stream", jabber_pkt_message },
@@ -494,7 +486,6 @@ static const struct xt_handler_entry jabber_handlers[] = {
{ "challenge", "stream:stream", sasl_pkt_challenge },
{ "success", "stream:stream", sasl_pkt_result },
{ "failure", "stream:stream", sasl_pkt_result },
- { NULL, "stream:stream", jabber_pkt_misc },
{ NULL, NULL, NULL }
};