From edcc434338f6f6d69fbe12f846400d2f6c91e982 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Thu, 4 May 2006 18:12:08 +0000 Subject: [PATCH] mime_parser.c: updated some of the comments --- citadel/mime_parser.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/citadel/mime_parser.c b/citadel/mime_parser.c index 572e627aa..baad219e0 100644 --- a/citadel/mime_parser.c +++ b/citadel/mime_parser.c @@ -3,8 +3,8 @@ * * This is the MIME parser for Citadel. * - * Copyright (c) 1998-2005 by Art Cancro - * This code is distributed under the terms of the GNU General Public License. + * Copyright (c) 1998-2006 by Art Cancro + * This code is distributed under the GNU General Public License v2. * */ @@ -192,10 +192,12 @@ void mime_decode(char *partnum, return; } + /* Fail silently if we hit an unknown encoding. */ if ((strcasecmp(encoding, "base64")) && (strcasecmp(encoding, "quoted-printable"))) { return; } + /* * Allocate a buffer for the decoded data. The output buffer is slightly * larger than the input buffer; this assumes that the decoded data -- 2.39.2