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.7,1.8


From: Colin Leroy <address@hidden>
Subject: [Ayttm-commits] CVS: ayttm/src editcontacts.c,1.7,1.8
Date: Mon, 06 Jan 2003 11:12:36 -0500

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

Modified Files:
        editcontacts.c 
Log Message:
fix segfault & timewarp in the changelog


Index: editcontacts.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/editcontacts.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- editcontacts.c      4 Jan 2003 19:44:47 -0000       1.7
+++ editcontacts.c      6 Jan 2003 16:12:34 -0000       1.8
@@ -290,7 +290,7 @@
 
        acc_walk = accounts;
        if (acc_walk) {
-               while(acc_walk != NULL) {
+               while(acc_walk != NULL && acc_walk->data != NULL) {
                        if (g_list_find(existing_accounts, acc_walk->data) == 
NULL) {
                                eb_local_account *removed = (eb_local_account 
*)(acc_walk->data);
                                /* removed account */





reply via email to

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