]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/class-pop3.php
Wordpress 3.1-scripts
[autoinstalls/wordpress.git] / wp-includes / class-pop3.php
index bdb7903fd8a77ff37291d548e5a946a8f8d44125..2bf442f843c171d67c47fbf2f139828d1b36ce39 100644 (file)
  * An RFC 1939 compliant wrapper class for the POP3 protocol.
  *
  * Licensed under the GNU GPL. For full terms see the file COPYING.
+ * @license http://opensource.org/licenses/gpl-license.php GNU General Public License
  *
  * pop3 class
  *
- * $Id: class-pop3.php 8082 2008-06-14 16:36:13Z westi $
+ * $Id: class-pop3.php 17435 2011-02-09 17:35:36Z ryan $
  */
 
-/**
- * POP3
- *
- * @package SquirrelMail
- */
 class POP3 {
     var $ERROR      = '';       //  Error string.
 
@@ -372,7 +368,7 @@ class POP3 {
         $line = fgets($fp,$buffer);
         while ( !ereg("^\.\r\n",$line))
         {
-            if ( $line{0} == '.' ) { $line = substr($line,1); }
+            if ( $line[0] == '.' ) { $line = substr($line,1); }
             $MsgArray[$count] = $line;
             $count++;
             $line = fgets($fp,$buffer);