alecpl
2008-11-28 7342d7ef8c277c32bb161eeb585d98099f2b04fe
- re-fix r2095


2 files modified
4 ■■■■ changed files
index.php 2 ●●● patch | view | raw | blame | history
program/lib/imap.inc 2 ●●● patch | view | raw | blame | history
index.php
@@ -100,7 +100,7 @@
    $OUTPUT->redirect();
  }
  else {
    $OUTPUT->show_message($IMAP->error_code == 0 ? 'loginfailed' : 'imaperror', 'warning');
    $OUTPUT->show_message($IMAP->error_code < -1 ? 'imaperror' : 'loginfailed', 'warning');
    $RCMAIL->kill_session();
  }
}
program/lib/imap.inc
@@ -586,7 +586,7 @@
    $conn->fp = fsockopen($host, $ICL_PORT, $errno, $errstr, 10);
    if (!$conn->fp) {
            $iil_error = "Could not connect to $host at port $ICL_PORT: $errstr";
            $iil_errornum = -1;
            $iil_errornum = -2;
        return false;
    }