[Commits] [SCM] claws branch, master, updated. 3.9.3-187-g87a0163

colin at claws-mail.org colin at claws-mail.org
Wed May 14 10:21:28 CEST 2014


The branch master of project "claws" (Claws Mail) has been updated
       via  87a01636eb14ac2220a3e3b2c9e3e3d24ad4450f (commit)
      from  17c095ce57618dcf63dc3c64555c90067be7fadd (commit)


- Log -----------------------------------------------------------------
commit 87a01636eb14ac2220a3e3b2c9e3e3d24ad4450f
Author: Colin Leroy <colin at colino.net>
Date:   Wed May 14 10:21:23 2014 +0200

    Fix insertion

diff --git a/src/common/utils.c b/src/common/utils.c
index d228c2f..5dd2f2b 100644
--- a/src/common/utils.c
+++ b/src/common/utils.c
@@ -2426,7 +2426,7 @@ gint remove_numbered_files_not_in_list(const gchar *dir, GSList *numberlist)
 	wanted_files = g_hash_table_new(g_direct_hash, g_direct_equal);
 	for (cur = numberlist; cur != NULL; cur = cur->next) {
 		/* numberlist->data is expected to be GINT_TO_POINTER */
-		g_hash_table_insert(wanted_files, numberlist->data, GINT_TO_POINTER(1));
+		g_hash_table_insert(wanted_files, cur->data, GINT_TO_POINTER(1));
 	}
 
 	while ((dir_name = g_dir_read_name(dp)) != NULL) {

-----------------------------------------------------------------------

Summary of changes:
 src/common/utils.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list