diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-01-18 03:32:19 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-01-18 03:32:19 +0800 |
commit | a51a121e95a5302c037f4f9d272846ede24717f3 (patch) | |
tree | fd7804af91c17870e72e4a8195880afb911c886c /mail/mail-format.c | |
parent | eea1e59abbbc3e8d26c454d13a9fb59d88e652e2 (diff) | |
download | gsoc2013-evolution-a51a121e95a5302c037f4f9d272846ede24717f3.tar.gz gsoc2013-evolution-a51a121e95a5302c037f4f9d272846ede24717f3.tar.zst gsoc2013-evolution-a51a121e95a5302c037f4f9d272846ede24717f3.zip |
Update to match new uudecode interface (ie, no longer need a uulen state
2002-01-17 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (try_uudecoding): Update to match new uudecode
interface (ie, no longer need a uulen state variable).
svn path=/trunk/; revision=15350
Diffstat (limited to 'mail/mail-format.c')
-rw-r--r-- | mail/mail-format.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/mail-format.c b/mail/mail-format.c index 76fa65e2a1..28e5359345 100644 --- a/mail/mail-format.c +++ b/mail/mail-format.c @@ -1375,8 +1375,8 @@ static char * try_uudecoding (char *start, CamelMimePart *mime_part, guint offset, MailDisplay *md, GtkHTML *html, GtkHTMLStream *stream) { - int mode, len, state = 0; - char *filename, *estart, *p, *out, uulen = 0; + int mode, len, state = CAMEL_UUDECODE_STATE_INIT; + char *filename, *estart, *p, *out; guint32 save = 0; CamelMimePart *part; @@ -1402,7 +1402,7 @@ try_uudecoding (char *start, CamelMimePart *mime_part, } out = g_malloc (p - estart); - len = uudecode_step (estart, p - estart, out, &state, &save, &uulen); + len = uudecode_step (estart, p - estart, out, &state, &save); part = fake_mime_part_from_data (out, len, "application/octet-stream", offset, md); |