Changeset 1149


Ignore:
Timestamp:
07/20/09 09:54:14 (15 years ago)
Author:
rodsouza
Message:

Ticket #582 - It was modified the way of checking whether the variable is a valid socket.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/inc/class.SieveS.inc.php

    r1146 r1149  
    152152                 
    153153                //Lê um caracter de cada vez e o adiciona na variavel buffer; 
    154                 while(isset($this->socket) && !feof($this->socket)){ 
     154                while ( is_resource( $this -> socket ) && ( ! feof( $this -> socket ) ) ) 
     155                { 
    155156                        $char = fread($this->socket,1); 
    156157                         
Note: See TracChangeset for help on using the changeset viewer.