Changeset 3018 for branches/2.2/expressoMail1_2/inc/class.SieveS.inc.php
- Timestamp:
- 07/08/10 17:52:20 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/expressoMail1_2/inc/class.SieveS.inc.php
r1149 r3018 178 178 179 179 //Verifica a conexao 180 if(! $this->socket){180 if(!is_resource($this->socket)){ 181 181 $this->errstr = "listscripts: sem conexão para o servidor $this->host"; 182 182 return false; … … 187 187 188 188 $said = $this->read(); 189 while ( !preg_match("/^OK/",$said) && !preg_match("/^NO/",$said)) {189 while (is_resource($this->socket) && (!preg_match("/^OK/",$said) && !preg_match("/^NO/",$said))) { 190 190 191 191 // Cyrus v1 script lines look like '"script*"' with the
Note: See TracChangeset
for help on using the changeset viewer.