[Commits] folder.c 1.213.2.212 1.213.2.213

colin at claws-mail.org colin at claws-mail.org
Fri Sep 21 21:44:05 CEST 2012


Update of /home/claws-mail/claws/src
In directory srv:/tmp/cvs-serv14100/src

Modified Files:
      Tag: gtk2
	folder.c 
Log Message:
2012-09-21 [colin]	3.8.1cvs70

	* src/folder.c
		Fix warning where msgcount was used
		uninitialized in case the search was
		to be performed on a message list subset.

Index: folder.c
===================================================================
RCS file: /home/claws-mail/claws/src/folder.c,v
retrieving revision 1.213.2.212
retrieving revision 1.213.2.213
diff -u -d -r1.213.2.212 -r1.213.2.213
--- folder.c	21 Sep 2012 10:19:42 -0000	1.213.2.212
+++ folder.c	21 Sep 2012 19:44:03 -0000	1.213.2.213
@@ -4773,6 +4773,7 @@
 			return -1;
 	} else {
 		nums = *msgs;
+		msgcount = g_slist_length(nums);
 	}
 
 	for (cur = nums; cur != NULL; cur = cur->next) {



More information about the Commits mailing list