aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-utils.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-12-16 05:33:21 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-12-16 05:33:21 +0800
commit7fbf92b1d677fdb27942e3e5e5b99577f0276275 (patch)
tree16eeb54a27ae6ade32570d906c387218c8908d49 /camel/camel-mime-utils.c
parentdd79aa60b7bf7893a58445938c329e4cc308c94b (diff)
downloadgsoc2013-evolution-7fbf92b1d677fdb27942e3e5e5b99577f0276275.tar
gsoc2013-evolution-7fbf92b1d677fdb27942e3e5e5b99577f0276275.tar.gz
gsoc2013-evolution-7fbf92b1d677fdb27942e3e5e5b99577f0276275.tar.bz2
gsoc2013-evolution-7fbf92b1d677fdb27942e3e5e5b99577f0276275.tar.lz
gsoc2013-evolution-7fbf92b1d677fdb27942e3e5e5b99577f0276275.tar.xz
gsoc2013-evolution-7fbf92b1d677fdb27942e3e5e5b99577f0276275.tar.zst
gsoc2013-evolution-7fbf92b1d677fdb27942e3e5e5b99577f0276275.zip
When checking to see if we need to fold the header, when we come accross a
2000-12-15 Jeffrey Stedfast <fejj@helixcode.com> * camel-mime-utils.c (header_fold): When checking to see if we need to fold the header, when we come accross a \n, make sure to start at p + 1 the next time through the loop or else we get into an infinite loop. svn path=/trunk/; revision=7055
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 425c77d35d..e2264159bc 100644
--- a/camel/camel-mime-utils.c
+++ b/camel/camel-mime-utils.c
@@ -3125,7 +3125,7 @@ header_fold(const char *in, int headerlen)
if (len >= CAMEL_FOLD_SIZE)
break;
len = 0;
- p = n;
+ p = n + 1;
}
if (len < CAMEL_FOLD_SIZE)
return g_strdup(in);