aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/oscar/rxqueue.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/rxqueue.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/rxqueue.c')
-rw-r--r--protocols/oscar/rxqueue.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/protocols/oscar/rxqueue.c b/protocols/oscar/rxqueue.c
index d95bc026..d8adaa73 100644
--- a/protocols/oscar/rxqueue.c
+++ b/protocols/oscar/rxqueue.c
@@ -331,11 +331,7 @@ void aim_frame_destroy(aim_frame_t *frame)
g_free(frame->data.data); /* XXX aim_bstream_free */
- if (frame->hdrtype == AIM_FRAMETYPE_OFT)
- g_free(frame->hdr.oft.hdr2);
g_free(frame);
-
- return;
}
@@ -362,17 +358,6 @@ int aim_get_command(aim_session_t *sess, aim_conn_t *conn)
if (conn->status & AIM_CONN_STATUS_INPROGRESS)
return aim_conn_completeconnect(sess, conn);
- /*
- * Rendezvous (client-client) connections do not speak
- * FLAP, so this function will break on them.
- */
- if (conn->type == AIM_CONN_TYPE_RENDEZVOUS)
- return aim_get_command_rendezvous(sess, conn);
- else if (conn->type == AIM_CONN_TYPE_RENDEZVOUS_OUT) {
- do_error_dialog(sess->aux_data,"AIM_CONN_TYPE_RENDEZVOUS_OUT shouldn't use FLAP", "Gaim");
- return 0;
- }
-
aim_bstream_init(&flaphdr, flaphdr_raw, sizeof(flaphdr_raw));
/*