ayttm-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ayttm-commits] CVS: ayttm/modules/msn2 msn.C,1.17,1.18


From: Colin Leroy <address@hidden>
Subject: [Ayttm-commits] CVS: ayttm/modules/msn2 msn.C,1.17,1.18
Date: Thu, 09 Jan 2003 05:14:10 -0500

Update of /cvsroot/ayttm/ayttm/modules/msn2
In directory subversions:/tmp/cvs-serv6146/modules/msn2

Modified Files:
        msn.C 
Log Message:
disable connchecking for unverified email addresses


Index: msn.C
===================================================================
RCS file: /cvsroot/ayttm/ayttm/modules/msn2/msn.C,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- msn.C       8 Jan 2003 19:11:26 -0000       1.17
+++ msn.C       9 Jan 2003 10:14:08 -0000       1.18
@@ -502,6 +502,13 @@
 
 static int conncheck_handler = -1;
 
+void ext_disable_conncheck() {
+    if (conncheck_handler != -1 && do_check_connection) {
+           gtk_timeout_remove(conncheck_handler);
+           conncheck_handler = -1;
+    }  
+}
+
 static int checkconn(msnconn *conn) {
        int status = 1;
        eb_local_account * ela = NULL;
@@ -1761,10 +1768,7 @@
     /* We're being called as part of an  msn_clean_up anyway, so make sure 
eb_msn_logout doesn't try to clean up */
     mlad->mc=NULL;
     eb_msn_logout(ela);              
-    if (conncheck_handler != -1 && do_check_connection) {
-           gtk_timeout_remove(conncheck_handler);
-           conncheck_handler = -1;
-    }
+    ext_disable_conncheck();
 
   }
   eb_debug(DBG_MOD, "Closed connection with socket %d\n", conn->sock);





reply via email to

[Prev in Thread] Current Thread [Next in Thread]