comparison libpurple/protocols/mxit/protocol.c @ 32769:d8c652ea476a

MXit: Move "inpa" input watcher from PurpleConnection into PurpleConnection->proto_data.
author andrew.victor@mxit.com
date Tue, 18 Oct 2011 20:58:39 +0000
parents f75041cb3fec
children 930820b18a8d
comparison
equal deleted inserted replaced
32768:50cd80d3554e 32769:d8c652ea476a
2817 purple_util_fetch_url_cancel( (PurpleUtilFetchUrlData*) session->http_out_req ); 2817 purple_util_fetch_url_cancel( (PurpleUtilFetchUrlData*) session->http_out_req );
2818 session->http_out_req = NULL; 2818 session->http_out_req = NULL;
2819 } 2819 }
2820 2820
2821 /* remove the input cb function */ 2821 /* remove the input cb function */
2822 if ( session->con->inpa ) { 2822 if ( session->inpa ) {
2823 purple_input_remove( session->con->inpa ); 2823 purple_input_remove( session->inpa );
2824 session->con->inpa = 0; 2824 session->inpa = 0;
2825 } 2825 }
2826 2826
2827 /* remove HTTP poll timer */ 2827 /* remove HTTP poll timer */
2828 if ( session->http_timer_id > 0 ) 2828 if ( session->http_timer_id > 0 )
2829 purple_timeout_remove( session->http_timer_id ); 2829 purple_timeout_remove( session->http_timer_id );