aboutsummaryrefslogtreecommitdiffstats
path: root/unmime.c
diff options
context:
space:
mode:
Diffstat (limited to 'unmime.c')
-rw-r--r--unmime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unmime.c b/unmime.c
index 3e2ec521..d7882fa0 100644
--- a/unmime.c
+++ b/unmime.c
@@ -30,7 +30,7 @@ static unsigned char unhex(unsigned char c)
else if ((c >= 'a') && (c <= 'f'))
return (c - 'a' + 10);
else
- return c;
+ return 16; /* invalid hex character */
}
static int qp_char(unsigned char c1, unsigned char c2, unsigned char *c_out)