diff options
author | Not Zed <NotZed@Ximian.com> | 2002-02-28 09:09:05 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2002-02-28 09:09:05 +0800 |
commit | 7ac88d86319e2ef5b43ad7413f759bd1423ecd21 (patch) | |
tree | f2360977bdfc7ade0dc22623598ff68d86e6e938 /camel/camel-mime-utils.h | |
parent | 1eedef0b8672eed0b8f5bf7bf55b3ec93e4b5795 (diff) | |
download | gsoc2013-evolution-7ac88d86319e2ef5b43ad7413f759bd1423ecd21.tar.gz gsoc2013-evolution-7ac88d86319e2ef5b43ad7413f759bd1423ecd21.tar.zst gsoc2013-evolution-7ac88d86319e2ef5b43ad7413f759bd1423ecd21.zip |
Use the FOLD_SIZE as a recommended folding size, but add a new
2002-02-28 Not Zed <NotZed@Ximian.com>
* camel-mime-utils.c (header_fold): Use the FOLD_SIZE as a
recommended folding size, but add a new FOLD_MAX_SIZE (=998, the
smtp max line size) as the hard limit for any output.
svn path=/trunk/; revision=15866
Diffstat (limited to 'camel/camel-mime-utils.h')
-rw-r--r-- | camel/camel-mime-utils.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/camel/camel-mime-utils.h b/camel/camel-mime-utils.h index 50a3eb856b..f2327ae6d0 100644 --- a/camel/camel-mime-utils.h +++ b/camel/camel-mime-utils.h @@ -25,8 +25,10 @@ #include <time.h> #include <glib.h> -/* maximum size of a line from header_fold() */ +/* maximum recommended size of a line from header_fold() */ #define CAMEL_FOLD_SIZE (77) +/* maximum hard size of a line from header_fold() */ +#define CAMEL_FOLD_MAX_SIZE (998) #define CAMEL_UUDECODE_STATE_INIT (0) #define CAMEL_UUDECODE_STATE_BEGIN (1 << 16) |