Changeset 2652
- Timestamp:
- 04/28/10 16:02:10 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/class.SieveS.inc.php
r2360 r2652 188 188 189 189 //Verifica a conexao 190 if(! $this->socket){190 if(!is_resource($this->socket)){ 191 191 $this->errstr = "listscripts: sem conexão para o servidor $this->host"; 192 192 return false; … … 197 197 198 198 $said = $this->read(); 199 while ( !preg_match("/^OK/",$said) && !preg_match("/^NO/",$said)) {199 while (is_resource($this->socket) && (!preg_match("/^OK/",$said) && !preg_match("/^NO/",$said))) { 200 200 201 201 // Cyrus v1 script lines look like '"script*"' with the
Note: See TracChangeset
for help on using the changeset viewer.