Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/oscar/rxqueue.c

    r66c57924 rb7d3cc34  
    332332        g_free(frame->data.data); /* XXX aim_bstream_free */
    333333
     334        if (frame->hdrtype == AIM_FRAMETYPE_OFT)
     335                g_free(frame->hdr.oft.hdr2);
    334336        g_free(frame);
     337       
     338        return;
    335339}
    336340
     
    358362        if (conn->status & AIM_CONN_STATUS_INPROGRESS)
    359363                return aim_conn_completeconnect(sess, conn);
     364
     365        /*
     366         * Rendezvous (client-client) connections do not speak
     367         * FLAP, so this function will break on them.
     368         */
     369        if (conn->type == AIM_CONN_TYPE_RENDEZVOUS)
     370                return aim_get_command_rendezvous(sess, conn);
     371        else if (conn->type == AIM_CONN_TYPE_RENDEZVOUS_OUT) {
     372                do_error_dialog(sess->aux_data,"AIM_CONN_TYPE_RENDEZVOUS_OUT shouldn't use FLAP", "Gaim");
     373                return 0;
     374        }
    360375
    361376        aim_bstream_init(&flaphdr, flaphdr_raw, sizeof(flaphdr_raw));
Note: See TracChangeset for help on using the changeset viewer.