X-Git-Url: http://andersk.mit.edu/gitweb/libfaim.git/blobdiff_plain/9f1a40132a2c6642e3544205c31c091051127ae0..b1eac25ac75949707e082afcb8e0d702e536cef1:/src/stats.c diff --git a/src/stats.c b/src/stats.c index 4f7f741..65dd009 100644 --- a/src/stats.c +++ b/src/stats.c @@ -18,14 +18,7 @@ static int reportinterval(struct aim_session_t *sess, aim_module_t *mod, struct static int snachandler(struct aim_session_t *sess, aim_module_t *mod, struct command_rx_struct *rx, aim_modsnac_t *snac, unsigned char *data, int datalen) { - faimdprintf(sess, 0, "%s: snachandler: got %x/%x\n", mod->name, snac->family, snac->subtype); - - if (snac->family != mod->family) - return 0; - - if (snac->subtype == 0x0001) - ; - else if (snac->subtype == 0x0002) + if (snac->subtype == 0x0002) return reportinterval(sess, mod, rx, snac, data, datalen); return 0;