~micahg/ubuntu/natty/pidgin/2.7.9-2

« back to all changes in this revision

Viewing changes to libpurple/protocols/qq/qq_network.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-11-05 19:44:21 UTC
  • mfrom: (62.1.1 maverick-security) (2.3.12 sid)
  • Revision ID: james.westby@ubuntu.com-20101105194421-8r8o4pzw2m5j4hiy
Tags: 1:2.7.5-1ubuntu1
Resync on Debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
482
482
static void udp_pending(gpointer data, gint source, PurpleInputCondition cond)
483
483
{
484
484
        PurpleConnection *gc = NULL;
485
 
        qq_data *qd;
486
485
        guint8 *buf;
487
486
        gint buf_len;
488
487
 
489
488
        gc = (PurpleConnection *) data;
490
 
        g_return_if_fail(gc != NULL && gc->proto_data != NULL);
491
 
        qd = (qq_data *) gc->proto_data;
 
489
        g_return_if_fail(gc != NULL);
492
490
 
493
491
        if(cond != PURPLE_INPUT_READ) {
494
492
                purple_connection_error_reason(gc,
748
746
{
749
747
        PurpleConnection *gc;
750
748
        qq_data *qd;
751
 
        PurpleAccount *account ;
752
749
        qq_connection *conn;
753
750
 
754
751
        gc = (PurpleConnection *) data;
755
752
        g_return_if_fail(gc != NULL && gc->proto_data != NULL);
756
753
 
757
754
        qd = (qq_data *) gc->proto_data;
758
 
        account = purple_connection_get_account(gc);
759
755
 
760
756
        /* conn_data will be destoryed */
761
757
        qd->conn_data = NULL;