comparison libpurple/protocols/msn/directconn.c @ 30482:783d736704b8

If removing a timeout and return FALSE in its handler isn't good, then returning TRUE probably isn't either.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sat, 15 May 2010 08:02:08 +0000
parents a6642358155b
children 0662e5baada0
comparison
equal deleted inserted replaced
30481:4463cd2aba2d 30482:783d736704b8
722 { 722 {
723 MsnDirectConn *dc = data; 723 MsnDirectConn *dc = data;
724 724
725 g_return_val_if_fail(dc != NULL, FALSE); 725 g_return_val_if_fail(dc != NULL, FALSE);
726 726
727 if (dc->progress) 727 if (dc->progress) {
728 dc->progress = FALSE; 728 dc->progress = FALSE;
729 else 729 return TRUE;
730 } else {
731 dc->timeout_handle = 0;
730 msn_dc_destroy(dc); 732 msn_dc_destroy(dc);
731 733 return FALSE;
732 return TRUE; 734 }
733 } 735 }
734 736
735 static void 737 static void
736 msn_dc_init(MsnDirectConn *dc) 738 msn_dc_init(MsnDirectConn *dc)
737 { 739 {