[Commits] xml-plugin.c 1.10 1.11

miras at claws-mail.org miras at claws-mail.org
Sat Dec 31 01:39:18 CET 2011


Update of /home/claws-mail/contacts/plugins/xml
In directory claws-mail:/tmp/cvs-serv6061/plugins/xml

Modified Files:
	xml-plugin.c 
Log Message:
2011-12-31 [mir]	0.6.0cvs60

	* plugins/xml/xml-plugin.c
	    Fix bug which prevented saving more than
	    one email address for each contact.

Index: xml-plugin.c
===================================================================
RCS file: /home/claws-mail/contacts/plugins/xml/xml-plugin.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- xml-plugin.c	17 Dec 2011 15:50:41 -0000	1.10
+++ xml-plugin.c	31 Dec 2011 00:39:16 -0000	1.11
@@ -331,9 +331,9 @@
 		if (mails) {
 			tmp = g_strdup(mails);
 			g_free(mails);
-			mails = g_strdup_printf(tmp, "\t\t\t<address alias=\"%s\" "
+			mails = g_strdup_printf("%s\t\t\t<address alias=\"%s\" "
 					"email=\"%s\" remarks=\"%s\" />",
-					alias, addr, remarks);
+					tmp, alias, addr, remarks);
 			g_free(tmp);
 		}
 		else



More information about the Commits mailing list