aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-format.c6
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);