From be7aeac3e81ef1c4b86b78d08a387e99610f5589 Mon Sep 17 00:00:00 2001 From: hiro Date: Fri, 31 Aug 2007 01:20:19 +0000 Subject: fixed another format string bug in address completion. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1885 ee746299-78ed-0310-b773-934348b2243d --- src/addr_compl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/addr_compl.c') diff --git a/src/addr_compl.c b/src/addr_compl.c index 5fbdad8b..908b338e 100644 --- a/src/addr_compl.c +++ b/src/addr_compl.c @@ -410,7 +410,7 @@ gchar *get_complete_address(gint index) (completion_addresses, index - 1); if (p != NULL) { if (!p->name || p->name[0] == '\0') - address = g_strdup_printf(p->address); + address = g_strdup(p->address); else if (p->name[0] != '"' && strpbrk(p->name, ",.[]<>") != NULL) address = g_strdup_printf -- cgit v1.2.3