[Commits] [SCM] claws branch, master, updated. 3.10.0-10-g0fff967

mones at claws-mail.org mones at claws-mail.org
Thu May 29 01:19:39 CEST 2014


The branch master of project "claws" (Claws Mail) has been updated
       via  0fff9674302458e517e66fbb46f74e7f3ac37b62 (commit)
      from  78965aa3b773324d9c1102d686e533379debd149 (commit)


- Log -----------------------------------------------------------------
commit 0fff9674302458e517e66fbb46f74e7f3ac37b62
Author: Ricardo Mones <ricardo at mones.org>
Date:   Thu May 29 01:11:39 2014 +0200

    Fix “File (null) doesn't exist” error dialog
    
    When attaching a non-existing file via --attach

diff --git a/src/compose.c b/src/compose.c
index 7833804..fa1e815 100644
--- a/src/compose.c
+++ b/src/compose.c
@@ -1206,7 +1206,7 @@ Compose *compose_generic_new(PrefsAccount *account, const gchar *mailto, FolderI
 
 		for (curr = attach_files ; curr != NULL ; curr = curr->next) {
 			ainfo = (AttachInfo *) curr->data;
-			compose_attach_append(compose, ainfo->file, ainfo->name,
+			compose_attach_append(compose, ainfo->file, ainfo->file,
 					ainfo->content_type, ainfo->charset);
 		}
 	}

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

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list