aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-11-02 08:59:16 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-11-02 08:59:16 +0800
commit9536369bca6b3da1a18d05e59e41ea6ed2eebead (patch)
treea9c4bcc164efe558f3562f58e414a2d0dc1e739e
parent4eaf9e569967246e4e3628d0e7ec41bb12368434 (diff)
downloadgsoc2013-evolution-9536369bca6b3da1a18d05e59e41ea6ed2eebead.tar
gsoc2013-evolution-9536369bca6b3da1a18d05e59e41ea6ed2eebead.tar.gz
gsoc2013-evolution-9536369bca6b3da1a18d05e59e41ea6ed2eebead.tar.bz2
gsoc2013-evolution-9536369bca6b3da1a18d05e59e41ea6ed2eebead.tar.lz
gsoc2013-evolution-9536369bca6b3da1a18d05e59e41ea6ed2eebead.tar.xz
gsoc2013-evolution-9536369bca6b3da1a18d05e59e41ea6ed2eebead.tar.zst
gsoc2013-evolution-9536369bca6b3da1a18d05e59e41ea6ed2eebead.zip
Removed. Glib2 has this function.
2002-11-01 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-utils.c (g_string_append_len): Removed. Glib2 has this function. svn path=/trunk/; revision=18499
-rw-r--r--camel/ChangeLog3
-rw-r--r--camel/camel-mime-utils.c12
2 files changed, 3 insertions, 12 deletions
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 <fejj@ximian.com>
+ * 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