CVS: sylpheed-claws/src imap.c,1.179.2.108,1.179.2.109

Colin Leroy <[email protected]>
Newsgroups gmane.mail.sylpheed.claws.cvs
Message-ID <[email protected]>
Update of /cvsroot/sylpheed-claws/sylpheed-claws/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1364/src

Modified Files:
      Tag: gtk2
	imap.c 
Log Message:
2006-04-23 [colin]	2.1.1cvs25

	* src/imap.c
		Make sure uidnext is initialized in get_num_list
		(not for stable, related to 2.1.1cvs8 and friends)

Index: imap.c
===================================================================
RCS file: /cvsroot/sylpheed-claws/sylpheed-claws/src/imap.c,v
retrieving revision 1.179.2.108
retrieving revision 1.179.2.109
diff -u -r1.179.2.108 -r1.179.2.109
--- imap.c	23 Apr 2006 11:46:22 -0000	1.179.2.108
+++ imap.c	23 Apr 2006 12:17:23 -0000	1.179.2.109
@@ -3084,7 +3084,7 @@
 {
 	IMAPFolderItem *item = (IMAPFolderItem *)_item;
 	IMAPSession *session;
-	gint ok, nummsgs = 0, exists, uid_val, uid_next;
+	gint ok, nummsgs = 0, exists, uid_val, uid_next = 0;
 	GSList *uidlist = NULL;
 	gchar *dir;
 	gboolean selected_folder;
@@ -3125,6 +3125,8 @@
 		}
 		exists = session->exists;
 
+		uid_next = item->c_uid_next;
+		uid_val = item->c_uid_validity;
 		*old_uids_valid = TRUE;
 	} else {
 		if (item->use_cache && time(NULL) - item->use_cache < 2) {



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.