From ef1a4fb6e87ff6c1b584da668f291dd8902f85f3 Mon Sep 17 00:00:00 2001 From: Iain Holmes Date: Wed, 11 Oct 2000 20:39:02 +0000 Subject: g_strconcat needs a NULL. svn path=/trunk/; revision=5861 --- e-util/ChangeLog | 5 +++++ e-util/ename/e-address-western.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'e-util') diff --git a/e-util/ChangeLog b/e-util/ChangeLog index 70979f82b8..e56a85ac2e 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,3 +1,8 @@ +2000-10-11 Iain Holmes + + * ename/e-address-western.c (e_address_western_parse): g_strconcat needs + to be NULL terminated or it goes funny. + Tue Sep 26 16:48:49 2000 Christopher James Lahey * Makefile.am: Added $(EXTRA_GNOME_CFLAGS). diff --git a/e-util/ename/e-address-western.c b/e-util/ename/e-address-western.c index 7ee9a831c9..1538e2a3ad 100644 --- a/e-util/ename/e-address-western.c +++ b/e-util/ename/e-address-western.c @@ -412,7 +412,7 @@ e_address_western_parse (const gchar *in_address) eaw->country = g_strdup (lines[cntr]); else { gchar *temp; - temp = g_strconcat (eaw->country, "\n", lines[cntr]); + temp = g_strconcat (eaw->country, "\n", lines[cntr], NULL); g_free (eaw->country); eaw->country = temp; } @@ -428,7 +428,7 @@ e_address_western_parse (const gchar *in_address) } else { gchar *temp; - temp = g_strconcat (eaw->extended, "\n", lines[cntr]); + temp = g_strconcat (eaw->extended, "\n", lines[cntr], NULL); g_free (eaw->extended); eaw->extended = temp; } -- cgit