]> 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 38c6694b1b7adc6358970e2eae7c8d63a107975e..2bf442f843c171d67c47fbf2f139828d1b36ce39 100644 (file)
@@ -1,20 +1,22 @@
 <?php
 <?php
-
-   /**
-    * mail_fetch/setup.php
-    *
-    * Copyright (c) 1999-2006 The SquirrelMail Project Team
-    *
-    * Copyright (c) 1999 CDI (cdi@thewebmasters.net) All Rights Reserved
-    * Modified by Philippe Mingo 2001 mingo@rotedic.com
-    * An RFC 1939 compliant wrapper class for the POP3 protocol.
-    *
-    * Licensed under the GNU GPL. For full terms see the file COPYING.
-    *
-    * pop3 class
-    *
-    * $Id: class-pop3.php 6044 2007-09-05 22:55:38Z ryan $
-    */
+/**
+ * mail_fetch/setup.php
+ *
+ * @package SquirrelMail
+ *
+ * @copyright (c) 1999-2006 The SquirrelMail Project Team
+ *
+ * @copyright (c) 1999 CDI (cdi@thewebmasters.net) All Rights Reserved
+ * Modified by Philippe Mingo 2001 mingo@rotedic.com
+ * 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 17435 2011-02-09 17:35:36Z ryan $
+ */
 
 class POP3 {
     var $ERROR      = '';       //  Error string.
 
 class POP3 {
     var $ERROR      = '';       //  Error string.
@@ -366,7 +368,7 @@ class POP3 {
         $line = fgets($fp,$buffer);
         while ( !ereg("^\.\r\n",$line))
         {
         $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);
             $MsgArray[$count] = $line;
             $count++;
             $line = fgets($fp,$buffer);