Changeset fefed62 in github


Ignore:
Timestamp:
Oct 2, 2009 1:12:51 PM (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:
2c7296a
Parents:
1bf9a86
Message:
  • simple fix in iil_C_FetchHeaders to handle "* BYE" response
File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/lib/imap.inc

    r1480e2f rfefed62  
    343343        if ($error && preg_match('/^\* (BYE|BAD) /i', $string)) { 
    344344                return true; 
    345  
    346345        } 
    347346        return false; 
     
    15461545                                } 
    15471546                        // patch from "Maksim Rubis" <siburny@hotmail.com> 
    1548                         } while (trim($line[0]) != ')' && strncmp($line, $key, strlen($key))); 
     1547                        } while ($line[0] != ')' && !iil_StartsWith($line, $key, true)); 
    15491548 
    15501549                        if (strncmp($line, $key, strlen($key))) {  
Note: See TracChangeset for help on using the changeset viewer.