[Commits] [SCM] claws branch, master, updated. 3.17.0-25-gf3accc7

wwp at claws-mail.org wwp at claws-mail.org
Sun Aug 26 18:03:18 CEST 2018


The branch, master has been updated
       via  f3accc742485ec31b45f4116c125af12a54fb970 (commit)
      from  96806a08108f1995337324d1e03720666a89e75d (commit)

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


- Log -----------------------------------------------------------------
commit f3accc742485ec31b45f4116c125af12a54fb970
Author: wwp <subscript at free.fr>
Date:   Sun Aug 26 18:01:02 2018 +0200

    Fix wrong test leading to dead code (and dead func), CID 1438531.

diff --git a/src/codeconv.c b/src/codeconv.c
index b200f35..0865f2c 100644
--- a/src/codeconv.c
+++ b/src/codeconv.c
@@ -1884,7 +1884,7 @@ gchar *conv_filename_to_utf8(const gchar *fs_file)
 	gchar *utf8_file = NULL;
 	GError *error = NULL;
 
-	cm_return_val_if_fail(utf8_file != NULL, NULL);
+	cm_return_val_if_fail(fs_file != NULL, NULL);
 
 	utf8_file = g_filename_to_utf8(fs_file, -1, NULL, NULL, &error);
 	if (error) {

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list