Changeset 1714 in subversion


Ignore:
Timestamp:
Sep 2, 2008 8:47:48 AM (5 years ago)
Author:
alec
Message:
  • last change fix
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/lib/imap.inc

    r1713 r1714  
    299299{ 
    300300        if (in_array($name, $conn->capability)) { 
    301                 return $conn->capability[$name]; 
     301                return true; 
    302302        } 
    303303        else if ($conn->capability_readed) { 
     
    324324 
    325325        if (in_array($name, $conn->capability)) { 
    326                 return $conn->capability[$name]; 
     326                return true; 
    327327        } 
    328328 
     
    549549 
    550550        $iil_error .= "Socket connection established\r\n"; 
    551         $line       = iil_ReadLine($conn->fp, 1024); 
     551        $line       = iil_ReadLine($conn->fp, 4096); 
    552552 
    553553        // RFC3501 [7.1] optional CAPABILITY response 
     
    555555                $conn->capability = explode(' ', strtoupper($matches[1])); 
    556556        } 
     557 
     558        $conn->message .= $line; 
    557559 
    558560        if (strcasecmp($auth_method, "check") == 0) { 
Note: See TracChangeset for help on using the changeset viewer.