Ignore:
Timestamp:
2005-11-20T16:09:23Z (16 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
831c955
Parents:
94281ef
Message:

Remove OFT and rendez-vous support (not used anyway and implemented
in a way too complicated way)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/oscar/rxhandlers.c

    r94281ef r66c57924  
    341341                        continue;
    342342
    343                 /*
    344                  * This is a debugging/sanity check only and probably
    345                  * could/should be removed for stable code.
    346                  */
    347                 if (((cur->hdrtype == AIM_FRAMETYPE_OFT) &&
    348                    (cur->conn->type != AIM_CONN_TYPE_RENDEZVOUS)) ||
    349                   ((cur->hdrtype == AIM_FRAMETYPE_FLAP) &&
    350                    (cur->conn->type == AIM_CONN_TYPE_RENDEZVOUS))) {
    351                         do_error_dialog(sess->aux_data, "incompatible frame type/connection type combination", "Gaim");
    352                         cur->handled = 1;
    353                         continue;
    354                 }
    355 
    356                 if (cur->conn->type == AIM_CONN_TYPE_RENDEZVOUS) {
    357                         if (cur->hdrtype != AIM_FRAMETYPE_OFT) {
    358                                 do_error_dialog(sess->aux_data, "non-OFT frames on OFT connection", "Gaim");
    359                                 cur->handled = 1; /* get rid of it */
    360                         } else {
    361                                 /* FIXME: implement this (OFT frame) */
    362                                 cur->handled = 1; /* get rid of it */
    363                         }
    364                         continue;
    365                 }
    366 
    367                 if (cur->conn->type == AIM_CONN_TYPE_RENDEZVOUS_OUT) {
    368                         /* not possible */
    369                         do_error_dialog(sess->aux_data, "RENDEZVOUS packet in rxqueue", "Gaim");
    370                         cur->handled = 1;
    371                         continue;
    372                 }
    373 
    374343                if (cur->hdr.flap.type == 0x01) {
    375344                       
Note: See TracChangeset for help on using the changeset viewer.