Changeset 4c266f2 for irc.c


Ignore:
Timestamp:
2006-01-18T22:17:59Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
2face62
Parents:
1ea13be (diff), c1826c6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merged (and adapted) changes from main tree.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.c

    r1ea13be r4c266f2  
    149149       
    150150        return( irc );
     151}
     152
     153void irc_abort( irc_t *irc )
     154{
     155        irc->status = USTATUS_SHUTDOWN;
     156        if( irc->sendbuffer )
     157        {
     158                g_source_remove( irc->r_watch_source_id );
     159                irc->r_watch_source_id = g_timeout_add_full( G_PRIORITY_HIGH, 1000, (GSourceFunc) irc_free, irc, NULL );
     160        }
     161        else
     162        {
     163                irc_free( irc );
     164        }
    151165}
    152166
Note: See TracChangeset for help on using the changeset viewer.