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 | |
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
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/mail-format.c | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 5ce8ae9218..7f847412ba 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +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). + 2002-01-15 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (on_set_base): New callback to handle the 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); |