The copyright message should be consistent.
[squirrelmail.git] / plugins / mail_fetch / functions.php
index 28a3045930c722b6d4e80bd9caab7c8b25ceafbd..c29b0c70d03b15c1a110d2c22ec186fda3e01377 100644 (file)
@@ -3,7 +3,7 @@
    /**
     **  mail_fetch/functions.php
     **
-    **  Copyright (c) 1999-2002 The SquirrelMail Project Team
+    **  Copyright (c) 1999-2005 The SquirrelMail Project Team
     **  Licensed under the GNU GPL. For full terms see the file COPYING.
     **
     **  Functions for the mailfetch plugin.
     **  Adapted for MailFetch by Philippe Mingo <mingo@rotedic.com>
     **
     **  $Id$
+    * @package plugins
+    * @subpackage mail_fetch
     **/
 
+    /**
+     * hex2bin - document me
+     */
     function hex2bin( $data ) {
 
         /* Original code by josh@superfork.com */
 
         $len = strlen($data);
+        $newdata = '';
         for( $i=0; $i < $len; $i += 2 ) {
             $newdata .= pack( "C", hexdec( substr( $data, $i, 2) ) );
         }
@@ -73,4 +79,4 @@
         return $tmp;
     }
 
-?>
+?>
\ No newline at end of file