cvs: pear /Net_Sieve Sieve.php

From: Date: Wed, 22 Mar 2006 03:09:42 +0000
Subject: cvs: pear /Net_Sieve Sieve.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-39229@lists.php.net to get a copy of this message
amistry Wed Mar 22 03:09:42 2006 UTC Modified files: /pear/Net_Sieve Sieve.php Log: Actually fix the external socket problem. http://cvs.php.net/viewcvs.cgi/pear/Net_Sieve/Sieve.php?r1=1.8&r2=1.9&diff_format=u Index: pear/Net_Sieve/Sieve.php diff -u pear/Net_Sieve/Sieve.php:1.8 pear/Net_Sieve/Sieve.php:1.9 --- pear/Net_Sieve/Sieve.php:1.8 Fri Feb 10 01:08:49 2006 +++ pear/Net_Sieve/Sieve.php Wed Mar 22 03:09:42 2006 @@ -218,11 +218,11 @@ */ function _handleConnectAndLogin() { + if (PEAR::isError($res = $this->connect($this->_data['host'] , $this->_data['port'] ))) { + return $res; + } if($this->_bypassAuth === false) { - if (PEAR::isError($res = $this->connect($this->_data['host'] , $this->_data['port'] ))) { - return $res; - } - if (PEAR::isError($res = $this->login($this->_data['user'], $this->_data['pass'], $this->_data['logintype'] , $this->_data['euser'] , $this->_bypassAuth) ) ) { + if (PEAR::isError($res = $this->login($this->_data['user'], $this->_data['pass'], $this->_data['logintype'] , $this->_data['euser'] , $this->_bypassAuth) ) ) { return $res; } }

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