Mercurial > pidgin
comparison libpurple/protocols/msn/servconn.c @ 27628:aac28ab73e9e
if I return FALSE to remove the timeout handle, I should probably set
timeout handle to 0 as well so we won't try to remove the non-existent handle
later
Refs #3330
author | Ka-Hing Cheung <khc@hxbc.us> |
---|---|
date | Sun, 19 Jul 2009 17:56:02 +0000 |
parents | 4fb5e292de75 |
children | f24885ec506b |
comparison
equal
deleted
inserted
replaced
27627:f4556d6f58c4 | 27628:aac28ab73e9e |
---|---|
294 | 294 |
295 static gboolean | 295 static gboolean |
296 servconn_idle_timeout_cb(MsnServConn *servconn) | 296 servconn_idle_timeout_cb(MsnServConn *servconn) |
297 { | 297 { |
298 msn_servconn_disconnect(servconn); | 298 msn_servconn_disconnect(servconn); |
299 servconn->timeout_handle = 0; | |
299 return FALSE; | 300 return FALSE; |
300 } | 301 } |
301 | 302 |
302 static void | 303 static void |
303 servconn_timeout_renew(MsnServConn *servconn) | 304 servconn_timeout_renew(MsnServConn *servconn) |