cvs: php4 /pear/Mail RFC822.php

From: Date: Mon, 29 Oct 2001 14:16:21 +0000
Subject: cvs: php4 /pear/Mail RFC822.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-1185@lists.php.net to get a copy of this message
heyesr Mon Oct 29 09:16:21 2001 EDT Modified files: /php4/pear/Mail RFC822.php Log: Minor style fix Index: php4/pear/Mail/RFC822.php diff -u php4/pear/Mail/RFC822.php:1.14 php4/pear/Mail/RFC822.php:1.15 --- php4/pear/Mail/RFC822.php:1.14 Mon Oct 29 09:14:44 2001 +++ php4/pear/Mail/RFC822.php Mon Oct 29 09:16:21 2001 @@ -38,7 +38,7 @@ * * @author Richard Heyes <richard@phpguru.org> * @author Chuck Hagenbuch <chuck@horde.org> -* @version $Revision: 1.14 $ +* @version $Revision: 1.15 $ * @package Mail */ @@ -566,10 +566,10 @@ // Catch any RFC822 comments and store them separately $_mailbox = $mailbox; - while(strlen(trim($_mailbox)) > 0){ + while (strlen(trim($_mailbox)) > 0) { $parts = explode('(', $_mailbox); $before_comment = $this->_splitCheck($parts, '('); - if($before_comment != $_mailbox){ + if ($before_comment != $_mailbox) { // First char should be a ( $comment = substr(str_replace($before_comment, '', $_mailbox), 1); $parts = explode(')', $comment); @@ -578,7 +578,7 @@ // +1 is for the trailing ) $_mailbox = substr($_mailbox, strpos($_mailbox, $comment)+strlen($comment)+1); - }else{ + } else { break; } }

« previous php.pear.cvs (#1185) next »