aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-utils.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-08-20 03:25:01 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-08-20 03:25:01 +0800
commit6dbfa6b0af78227963962a831875c4959180731d (patch)
treedcbda2aaba50f35cc865cd9cc28753b68286699b /camel/camel-mime-utils.c
parenta2b0fea02640e4aefa24788c5096a32d5743050f (diff)
downloadgsoc2013-evolution-6dbfa6b0af78227963962a831875c4959180731d.tar
gsoc2013-evolution-6dbfa6b0af78227963962a831875c4959180731d.tar.gz
gsoc2013-evolution-6dbfa6b0af78227963962a831875c4959180731d.tar.bz2
gsoc2013-evolution-6dbfa6b0af78227963962a831875c4959180731d.tar.lz
gsoc2013-evolution-6dbfa6b0af78227963962a831875c4959180731d.tar.xz
gsoc2013-evolution-6dbfa6b0af78227963962a831875c4959180731d.tar.zst
gsoc2013-evolution-6dbfa6b0af78227963962a831875c4959180731d.zip
Make sure the generated UID is non-NULL before appending it to the array
2001-08-19 Jeffrey Stedfast <fejj@ximian.com> * providers/pop3/camel-pop3-folder.c (pop3_generate_uids): Make sure the generated UID is non-NULL before appending it to the array of UIDs. How would this even happen? I have no clue... svn path=/trunk/; revision=12225
Diffstat (limited to 'camel/camel-mime-utils.c')
-rw-r--r--camel/camel-mime-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-mime-utils.c b/camel/camel-mime-utils.c
index c30c4d79ba..a6488c231b 100644
--- a/camel/camel-mime-utils.c
+++ b/camel/camel-mime-utils.c
@@ -472,7 +472,7 @@ base64_encode_simple (const char *data, int len)
unsigned char *out;
int state = 0, outlen;
unsigned int save = 0;
-
+
out = g_malloc (len * 4 / 3 + 5);
outlen = base64_encode_close ((unsigned char *)data, len, FALSE,
out, &state, &save);