Changeset 587444f in github


Ignore:
Timestamp:
Sep 20, 2009 5:09:36 AM (4 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
67bb96f
Parents:
f8dae9f
Message:
  • Fix "Empty startup greeting" bug (#1486085)
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG

    r4d54cfe r587444f  
    22=========================== 
    33 
     4- Fix "Empty startup greeting" bug (#1486085) 
    45- Fix setting user name in 'new_user_identity' plugin (#1486137) 
    56- Fix incorrect count of new messages in folder list when using multiple IMAP clients (#1485995) 
  • program/lib/imap.inc

    rb2ee726 r587444f  
    613613        } 
    614614 
    615         $conn->fp = fsockopen($host, $ICL_PORT, $errno, $errstr, 10); 
     615        $conn->fp = @fsockopen($host, $ICL_PORT, $errno, $errstr, 10); 
    616616        if (!$conn->fp) { 
    617617                $iil_error = "Could not connect to $host at port $ICL_PORT: $errstr"; 
     
    621621 
    622622        stream_set_timeout($conn->fp, 10); 
    623         $line = stream_get_line($conn->fp, 8192, "\n"); 
     623        $line = trim(fgets($conn->fp, 8192)); 
    624624 
    625625        if ($my_prefs['debug_mode'] && $line) 
     
    641641        } 
    642642 
    643         $conn->message .= $line; 
     643        $conn->message .= $line . "\n"; 
    644644 
    645645        // TLS connection 
     
    705705        } 
    706706                 
    707         if ((!$result)||(strcasecmp($auth, "plain") == 0)) { 
     707        if (!$result || strcasecmp($auth, "plain") == 0) { 
    708708                //do plain text auth 
    709709                $result = iil_C_Login($conn, $user, $password); 
Note: See TracChangeset for help on using the changeset viewer.