From: <pdo...@us...> - 2007-05-18 10:17:32
|
Revision: 12412 http://squirrelmail.svn.sourceforge.net/squirrelmail/?rev=12412&view=rev Author: pdontthink Date: 2007-05-18 03:17:30 -0700 (Fri, 18 May 2007) Log Message: ----------- Grammar fix and comment to Marc I think. Modified Paths: -------------- trunk/squirrelmail/functions/mime.php Modified: trunk/squirrelmail/functions/mime.php =================================================================== --- trunk/squirrelmail/functions/mime.php 2007-05-18 08:05:41 UTC (rev 12411) +++ trunk/squirrelmail/functions/mime.php 2007-05-18 10:17:30 UTC (rev 12412) @@ -71,6 +71,7 @@ } 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 @@ /** * 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 <chr...@os...> 23/03/2002 * This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |