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.8,1.9


From: Colin Leroy <address@hidden>
Subject: [Ayttm-commits] CVS: ayttm/src editcontacts.c,1.8,1.9
Date: Thu, 09 Jan 2003 03:29:49 -0500

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

Modified Files:
        editcontacts.c 
Log Message:
another segfault fix


Index: editcontacts.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/editcontacts.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- editcontacts.c      6 Jan 2003 16:12:34 -0000       1.8
+++ editcontacts.c      9 Jan 2003 08:29:47 -0000       1.9
@@ -294,7 +294,7 @@
                        if (g_list_find(existing_accounts, acc_walk->data) == 
NULL) {
                                eb_local_account *removed = (eb_local_account 
*)(acc_walk->data);
                                /* removed account */
-                               if(removed->connected 
+                               if(removed && removed->connected 
                                && RUN_SERVICE(removed)->logout != NULL)
                                        RUN_SERVICE(removed)->logout(removed);
                                accounts = 
g_list_remove(accounts,acc_walk->data);





reply via email to

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