ayttm-commits
[Top][All Lists]
Advanced

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

[Ayttm-commits] CVS: ayttm/src editcontacts.c,1.6,1.7


From: Colin Leroy <address@hidden>
Subject: [Ayttm-commits] CVS: ayttm/src editcontacts.c,1.6,1.7
Date: Sat, 04 Jan 2003 14:44:49 -0500

Update of /cvsroot/ayttm/ayttm/src
In directory subversions:/tmp/cvs-serv27667

Modified Files:
        editcontacts.c 
Log Message:
so stupid


Index: editcontacts.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/editcontacts.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- editcontacts.c      3 Jan 2003 23:26:07 -0000       1.6
+++ editcontacts.c      4 Jan 2003 19:44:47 -0000       1.7
@@ -294,9 +294,10 @@
                        if (g_list_find(existing_accounts, acc_walk->data) == 
NULL) {
                                eb_local_account *removed = (eb_local_account 
*)(acc_walk->data);
                                /* removed account */
-                               accounts = 
g_list_remove(accounts,acc_walk->data);
-                               if(removed->connected)
+                               if(removed->connected 
+                               && RUN_SERVICE(removed)->logout != NULL)
                                        RUN_SERVICE(removed)->logout(removed);
+                               accounts = 
g_list_remove(accounts,acc_walk->data);
                        }
                        acc_walk = acc_walk->next;
                }





reply via email to

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