--- auth/pop3.php 2002/07/20 13:00:25 1.1.1.1 +++ auth/pop3.php 2003/04/09 15:55:15 1.2 @@ -19,11 +19,13 @@ $email = explode("@",$user[3]); $pop3 = new POP3(); $pop3->connect($email[1]); - if ($pop3->checklogin($email[0],stripslashes($GLOBALS[gblPasswd]))) { + + if ($pop3->checklogin($email[0],stripslashes($GLOBALS['gblPasswd']))) { $pop3->quit(); return true; } $pop3->quit(); + error_log("docman: user $email[0] on $email[1] typed wrong password"); return false; } @@ -121,7 +123,9 @@ return false; } - set_socket_blocking($fp,-1); + #set_socket_blocking($fp,-1); + socket_set_blocking($fp,-1); # fix for php 4.2.x + $this->update_timer(); $reply = fgets($fp,$this->BUFFER); $reply = $this->strip_clf($reply);