From a51a121e95a5302c037f4f9d272846ede24717f3 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 17 Jan 2002 19:32:19 +0000 Subject: Update to match new uudecode interface (ie, no longer need a uulen state 2002-01-17 Jeffrey Stedfast * mail-format.c (try_uudecoding): Update to match new uudecode interface (ie, no longer need a uulen state variable). svn path=/trunk/; revision=15350 --- mail/ChangeLog | 5 +++++ mail/mail-format.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'mail') 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 + + * mail-format.c (try_uudecoding): Update to match new uudecode + interface (ie, no longer need a uulen state variable). + 2002-01-15 Jeffrey Stedfast * 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); -- cgit