[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ayttm-commits] CVS: ayttm/modules/msn2 msn.C,1.33,1.34
From: |
Colin Leroy <address@hidden> |
Subject: |
[Ayttm-commits] CVS: ayttm/modules/msn2 msn.C,1.33,1.34 |
Date: |
Thu, 16 Jan 2003 09:01:15 -0500 |
Update of /cvsroot/ayttm/ayttm/modules/msn2
In directory subversions:/tmp/cvs-serv27383/modules/msn2
Modified Files:
msn.C
Log Message:
Don't launch connchecker too soon
Index: msn.C
===================================================================
RCS file: /cvsroot/ayttm/ayttm/modules/msn2/msn.C,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- msn.C 16 Jan 2003 09:51:03 -0000 1.33
+++ msn.C 16 Jan 2003 14:01:13 -0000 1.34
@@ -567,10 +567,6 @@
}
account->connected=1;
mlad->status=MSN_ONLINE;
- /* hack to check conn status */
- if (conncheck_handler == -1 && do_check_connection)
- conncheck_handler = eb_timeout_add(10000, (GtkFunction)checkconn,
(gpointer)mlad->mc);
-
}
void eb_msn_logout( eb_local_account * account )
@@ -1462,20 +1458,24 @@
GList *existing = get_all_accounts(SERVICE_INFO.protocol_id);
eb_debug(DBG_MOD, "Got the sync info!\n");
msn_set_state(conn, "NLN");
- for(existing; existing != NULL && existing->data != NULL; existing =
existing->next) {
- char *cnt = (char*) existing->data;
- if (!is_on_list(cnt,info->al)) {
- eb_debug(DBG_MOD,"adding %s to al\n",cnt);
- msn_add_to_list(mainconn, "AL", cnt);
- }
- if (!is_on_list(cnt,info->fl)) {
- eb_debug(DBG_MOD,"adding %s to fl\n",cnt);
- msn_add_to_list(mainconn, "FL", cnt);
- }
- }
+ /* hack to check conn status */
+ if (conncheck_handler == -1 && do_check_connection)
+ conncheck_handler = eb_timeout_add(10000, (GtkFunction)checkconn,
(gpointer)conn);
+
+ for(existing; existing != NULL && existing->data != NULL; existing =
existing->next) {
+ char *cnt = (char*) existing->data;
+ if (!is_on_list(cnt,info->al)) {
+ eb_debug(DBG_MOD,"adding %s to al\n",cnt);
+ msn_add_to_list(mainconn, "AL", cnt);
+ }
+ if (!is_on_list(cnt,info->fl)) {
+ eb_debug(DBG_MOD,"adding %s to fl\n",cnt);
+ msn_add_to_list(mainconn, "FL", cnt);
+ }
+ }
- if(fname_pref[0]!='\0')
- { msn_set_friendlyname(conn, fname_pref); }
+ if(fname_pref[0]!='\0')
+ { msn_set_friendlyname(conn, fname_pref); }
}
void ext_latest_serial(msnconn * conn, int serial)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Ayttm-commits] CVS: ayttm/modules/msn2 msn.C,1.33,1.34,
Colin Leroy <address@hidden> <=
- Prev by Date:
[Ayttm-commits] CVS: ayttm ChangeLog,1.133,1.134 configure.in,1.131,1.132
- Next by Date:
[Ayttm-commits] CVS: ayttm ChangeLog,1.134,1.135 configure.in,1.132,1.133
- Previous by thread:
[Ayttm-commits] CVS: ayttm ChangeLog,1.133,1.134 configure.in,1.131,1.132
- Next by thread:
[Ayttm-commits] CVS: ayttm ChangeLog,1.134,1.135 configure.in,1.132,1.133
- Index(es):