aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/oscar/rxhandlers.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-11-20 17:09:23 +0100
committerJelmer Vernooij <jelmer@samba.org>2005-11-20 17:09:23 +0100
commit66c579243cd3273e12decf9744210d7dc1877cec (patch)
tree2f60722415e25cd4a2ae2812200eac0cc92d4565 /protocols/oscar/rxhandlers.c
parent94281efa4280bd3ef1cecb7cd22deca03ecb5935 (diff)
Remove OFT and rendez-vous support (not used anyway and implemented
in a way too complicated way)
Diffstat (limited to 'protocols/oscar/rxhandlers.c')
-rw-r--r--protocols/oscar/rxhandlers.c31
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 */