diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-11-28 02:14:35 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2005-11-28 02:14:35 +0100 |
commit | cfcc5877b737800ab84cd67d9c413e7254ac1f50 (patch) | |
tree | b4302a38f8a7a90c0328b2a15f947f06c7c8266f /protocols/oscar/rxhandlers.c | |
parent | cf136714caa13e2cd4bf8a69a29c08f3a1518f59 (diff) | |
parent | b20b32f0785f9a1eff448382a98e64812469e112 (diff) |
Merge from Wilmer
Diffstat (limited to 'protocols/oscar/rxhandlers.c')
-rw-r--r-- | protocols/oscar/rxhandlers.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/protocols/oscar/rxhandlers.c b/protocols/oscar/rxhandlers.c index eb0898ec..be8aba44 100644 --- a/protocols/oscar/rxhandlers.c +++ b/protocols/oscar/rxhandlers.c @@ -340,37 +340,6 @@ void aim_rxdispatch(aim_session_t *sess) if (cur->handled) continue; - /* - * This is a debugging/sanity check only and probably - * could/should be removed for stable code. - */ - if (((cur->hdrtype == AIM_FRAMETYPE_OFT) && - (cur->conn->type != AIM_CONN_TYPE_RENDEZVOUS)) || - ((cur->hdrtype == AIM_FRAMETYPE_FLAP) && - (cur->conn->type == AIM_CONN_TYPE_RENDEZVOUS))) { - do_error_dialog(sess->aux_data, "incompatible frame type/connection type combination", "Gaim"); - cur->handled = 1; - continue; - } - - if (cur->conn->type == AIM_CONN_TYPE_RENDEZVOUS) { - if (cur->hdrtype != AIM_FRAMETYPE_OFT) { - do_error_dialog(sess->aux_data, "non-OFT frames on OFT connection", "Gaim"); - cur->handled = 1; /* get rid of it */ - } else { - /* FIXME: implement this (OFT frame) */ - cur->handled = 1; /* get rid of it */ - } - continue; - } - - if (cur->conn->type == AIM_CONN_TYPE_RENDEZVOUS_OUT) { - /* not possible */ - do_error_dialog(sess->aux_data, "RENDEZVOUS packet in rxqueue", "Gaim"); - cur->handled = 1; - continue; - } - if (cur->hdr.flap.type == 0x01) { cur->handled = aim_callhandler_noparam(sess, cur->conn, AIM_CB_FAM_SPECIAL, AIM_CB_SPECIAL_FLAPVER, cur); /* XXX use consumenonsnac */ |