aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2000-10-12 04:39:02 +0800
committerIain Holmes <iain@src.gnome.org>2000-10-12 04:39:02 +0800
commitef1a4fb6e87ff6c1b584da668f291dd8902f85f3 (patch)
tree41f34e380fce2986710e9932385efcd37e866681 /e-util
parent532dd2f3ba0baf721c8a85ebd5543e518a10591e (diff)
downloadgsoc2013-evolution-ef1a4fb6e87ff6c1b584da668f291dd8902f85f3.tar
gsoc2013-evolution-ef1a4fb6e87ff6c1b584da668f291dd8902f85f3.tar.gz
gsoc2013-evolution-ef1a4fb6e87ff6c1b584da668f291dd8902f85f3.tar.bz2
gsoc2013-evolution-ef1a4fb6e87ff6c1b584da668f291dd8902f85f3.tar.lz
gsoc2013-evolution-ef1a4fb6e87ff6c1b584da668f291dd8902f85f3.tar.xz
gsoc2013-evolution-ef1a4fb6e87ff6c1b584da668f291dd8902f85f3.tar.zst
gsoc2013-evolution-ef1a4fb6e87ff6c1b584da668f291dd8902f85f3.zip
g_strconcat needs a NULL.
svn path=/trunk/; revision=5861
Diffstat (limited to 'e-util')
-rw-r--r--e-util/ChangeLog5
-rw-r--r--e-util/ename/e-address-western.c4
2 files changed, 7 insertions, 2 deletions
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 <iain@helixcode.com>
+
+ * 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 <clahey@helixcode.com>
* 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;
}