[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ayttm-commits] CVS: ayttm/modules/msn2 msn.C,1.49,1.50
From: |
Colin Leroy <address@hidden> |
Subject: |
[Ayttm-commits] CVS: ayttm/modules/msn2 msn.C,1.49,1.50 |
Date: |
Tue, 28 Jan 2003 06:01:53 -0500 |
Update of /cvsroot/ayttm/ayttm/modules/msn2
In directory subversions:/tmp/cvs-serv29056/modules/msn2
Modified Files:
msn.C
Log Message:
paranoid here too
Index: msn.C
===================================================================
RCS file: /cvsroot/ayttm/ayttm/modules/msn2/msn.C,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- msn.C 27 Jan 2003 17:12:59 -0000 1.49
+++ msn.C 28 Jan 2003 11:01:50 -0000 1.50
@@ -596,10 +596,12 @@
eb_debug(DBG_MSN, "Logging out\n");
for (l = msn_contacts; l != NULL && l->data != NULL; l = l->next) {
eb_account * ea = (eb_account *)find_account_by_handle((char
*)l->data, SERVICE_INFO.protocol_id);
- eb_msn_account_data * mad = (eb_msn_account_data
*)ea->protocol_account_data;
- mad->status=MSN_OFFLINE;
- buddy_logoff(ea);
- buddy_update_status(ea);
+ if (ea) {
+ eb_msn_account_data * mad = (eb_msn_account_data
*)ea->protocol_account_data;
+ mad->status=MSN_OFFLINE;
+ buddy_logoff(ea);
+ buddy_update_status(ea);
+ }
}
account->connected = 0;
eb_set_active_menu_status(account->status_menu, MSN_OFFLINE);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Ayttm-commits] CVS: ayttm/modules/msn2 msn.C,1.49,1.50,
Colin Leroy <address@hidden> <=
- Prev by Date:
[Ayttm-commits] CVS: ayttm/src/gtk Makefile.am,1.2,1.3
- Next by Date:
[Ayttm-commits] CVS: ayttm ChangeLog,1.236,1.237 configure.in,1.232,1.233
- Previous by thread:
[Ayttm-commits] CVS: ayttm/src/gtk Makefile.am,1.2,1.3
- Next by thread:
[Ayttm-commits] CVS: ayttm ChangeLog,1.236,1.237 configure.in,1.232,1.233
- Index(es):