aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-utils.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-07-06 05:24:53 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-07-06 05:24:53 +0800
commit5348f464f5846e1228dff1c511fe003b1f3fa1e1 (patch)
tree2eadbeae723c373d9e16f116224560a74e8914e4 /camel/camel-mime-utils.c
parent1e54340d72e5aaeb88c120b275bb468198167ba4 (diff)
downloadgsoc2013-evolution-5348f464f5846e1228dff1c511fe003b1f3fa1e1.tar.gz
gsoc2013-evolution-5348f464f5846e1228dff1c511fe003b1f3fa1e1.tar.zst
gsoc2013-evolution-5348f464f5846e1228dff1c511fe003b1f3fa1e1.zip
Added prototype for uudecode_step
2000-07-05 Jeffrey Stedfast <fejj@helixcode.com> * camel-mime-utils.h: Added prototype for uudecode_step * camel-mime-utils.c (uudecode_step): Cleaned up some junk that should have been cleaned up when debugging printf's were taken out. svn path=/trunk/; revision=3899
Diffstat (limited to 'camel/camel-mime-utils.c')
-rw-r--r--camel/camel-mime-utils.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/camel/camel-mime-utils.c b/camel/camel-mime-utils.c
index e30c24b87d..f2349b7e92 100644
--- a/camel/camel-mime-utils.c
+++ b/camel/camel-mime-utils.c
@@ -2,6 +2,7 @@
* Copyright (C) 2000 Helix Code Inc.
*
* Authors: Michael Zucchi <notzed@helixcode.com>
+ * Jeffrey Stedfast <fejj@helixcode.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public License
@@ -481,11 +482,8 @@ uudecode_step (unsigned char *in, int len, unsigned char *out, int *state, guint
*outptr++ = CAMEL_UUDECODE_CHAR (b1) << 4 | CAMEL_UUDECODE_CHAR (b2) >> 2;
*outptr++ = CAMEL_UUDECODE_CHAR (b2) << 6 | CAMEL_UUDECODE_CHAR (b3);
} else {
- int j = 0;
-
if (*uulen >= 1) {
*outptr++ = CAMEL_UUDECODE_CHAR (b0) << 2 | CAMEL_UUDECODE_CHAR (b1) >> 4;
- j++;
}
if (*uulen >= 2) {
*outptr++ = CAMEL_UUDECODE_CHAR (b1) << 4 | CAMEL_UUDECODE_CHAR (b2) >> 2;