cvs: pear /Net_IMAP IMAPProtocol.php
| From: | Anish Mistry | Date: | Wed, 22 Mar 2006 04:37:34 +0000 |
| Subject: | cvs: pear /Net_IMAP IMAPProtocol.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-39232@lists.php.net to get a copy of this message | ||
amistry Wed Mar 22 04:37:34 2006 UTC
Modified files:
/pear/Net_IMAP IMAPProtocol.php
Log:
Fix Bug #3438.
http://cvs.php.net/viewcvs.cgi/pear/Net_IMAP/IMAPProtocol.php?r1=1.2&r2=1.3&diff_format=u
Index: pear/Net_IMAP/IMAPProtocol.php
diff -u pear/Net_IMAP/IMAPProtocol.php:1.2 pear/Net_IMAP/IMAPProtocol.php:1.3
--- pear/Net_IMAP/IMAPProtocol.php:1.2 Fri Apr 8 01:39:15 2005
+++ pear/Net_IMAP/IMAPProtocol.php Wed Mar 22 04:37:33 2006
@@ -688,11 +688,7 @@
return new PEAR_Error( 'not connected!' );
}
- $cmdid = $this->_getCmdId();
- if ( PEAR::isError( $error = $this->_putCMD( $cmdid , 'LOGOUT' ) ) ) {
- return $error;
- }
- if ( PEAR::isError($args = $this->_getRawResponse() ) ) {
+ if ( PEAR::isError( $args = $this->_genericCommand( 'LOGOUT' ) ) ) {
return $args;
}
if (PEAR::isError( $this->_socket->disconnect() ) ) {
@@ -2706,7 +2702,7 @@
*/
$str_line = rtrim( substr( $this->_getToEOL( $str , false ) , 1 ) );
- $result_array[] = array( "COMMAND"=>$command , "EXT"=>
$str_line );
+ $result_array[] = array( "COMMAND"=>$token , "EXT"=>
$str_line );
return $result_array;
break;