From e11159795f02a528915f2a4b85ac083809298da2 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Fri, 18 May 2007 10:17:30 +0000 Subject: [PATCH] Grammar fix and comment to Marc I think. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12412 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/mime.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions/mime.php b/functions/mime.php index da8ee6a1..11c9f4cf 100644 --- a/functions/mime.php +++ b/functions/mime.php @@ -71,6 +71,7 @@ function mime_structure ($bodystructure, $flags=array()) { } if (count($flags)) { foreach ($flags as $flag) { +//FIXME: please document why it is we have to check the first char of the flag but we then go ahead and do a full string comparison anyway. Is this a speed enhancement? If not, let's keep it simple and just compare the full string and forget the switch block. $char = strtoupper($flag{1}); switch ($char) { case 'S': @@ -708,7 +709,7 @@ function decodeBody($body, $encoding) { /** * Decodes headers * - * This functions decode strings that is encoded according to + * This function decodes strings that are encoded according to * RFC1522 (MIME Part Two: Message Header Extensions for Non-ASCII Text). * Patched by Christian Schmidt 23/03/2002 * -- 2.25.1