aboutsummaryrefslogtreecommitdiff
path: root/src/addr_compl.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-08-31 01:20:19 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-08-31 01:20:19 +0000
commitbe7aeac3e81ef1c4b86b78d08a387e99610f5589 (patch)
treef6b673d2b6920b917ed367096ddd57f26f51e271 /src/addr_compl.c
parentb1ccf6f3c064d304bfe18756adcd1f55bff9b30c (diff)
fixed another format string bug in address completion.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1885 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/addr_compl.c')
-rw-r--r--src/addr_compl.c2
1 files changed, 1 insertions, 1 deletions
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