From 9536369bca6b3da1a18d05e59e41ea6ed2eebead Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Sat, 2 Nov 2002 00:59:16 +0000 Subject: Removed. Glib2 has this function. 2002-11-01 Jeffrey Stedfast * camel-mime-utils.c (g_string_append_len): Removed. Glib2 has this function. svn path=/trunk/; revision=18499 --- camel/ChangeLog | 3 +++ camel/camel-mime-utils.c | 12 ------------ 2 files changed, 3 insertions(+), 12 deletions(-) (limited to 'camel') diff --git a/camel/ChangeLog b/camel/ChangeLog index cd7b446ac8..4330222638 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,5 +1,8 @@ 2002-11-01 Jeffrey Stedfast + * camel-mime-utils.c (g_string_append_len): Removed. Glib2 has + this function. + * providers/local/camel-local-store.c (delete_folder): Use g_path_get_basename instead of g_strdup (g_basename (filename)). diff --git a/camel/camel-mime-utils.c b/camel/camel-mime-utils.c index ef21531f0b..4b1d4297f3 100644 --- a/camel/camel-mime-utils.c +++ b/camel/camel-mime-utils.c @@ -1093,18 +1093,6 @@ rfc2047_decode_word(const char *in, size_t len) return decoded; } -/* grrr, glib should have this ! */ -static GString * -g_string_append_len(GString *st, const char *s, size_t l) -{ - char *tmp; - - tmp = alloca(l+1); - tmp[l]=0; - memcpy(tmp, s, l); - return g_string_append(st, tmp); -} - /* ok, a lot of mailers are BROKEN, and send iso-latin1 encoded headers, when they should just be sticking to US-ASCII according to the rfc's. Anyway, since the conversion to utf-8 -- cgit v1.2.3