Update of /cvsroot/phpwiki/phpwiki/lib/WikiUser In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20408/WikiUser Modified Files: POP3.php Log Message: bug #1186291 Index: POP3.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/WikiUser/POP3.php,v retrieving revision 1.5 retrieving revision 1.6 diff -u -2 -b -p -d -r1.5 -r1.6 --- POP3.php 19 Mar 2005 07:30:52 -0000 1.5 +++ POP3.php 23 Apr 2005 11:17:41 -0000 1.6 @@ -36,15 +36,15 @@ extends _IMAPPassUser { // Get welcome string $line = fgets($fp, 1024); - if (! strncmp("+OK ", $line, 4)) { + if (! strncmp("+OK", $line, 3)) { // Send user name fputs($fp, "user $userid\n"); // Get response $line = fgets($fp, 1024); - if (! strncmp("+OK ", $line, 4)) { + if (! strncmp("+OK", $line, 3)) { // Send password fputs($fp, "pass $pass\n"); // Get response $line = fgets($fp, 1024); - if (! strncmp("+OK ", $line, 4)) { + if (! strncmp("+OK", $line, 3)) { $retval = true; } @@ -71,4 +71,7 @@ extends _IMAPPassUser { // $Log$ +// Revision 1.6 2005年04月23日 11:17:41 rurban +// bug #1186291 +// // Revision 1.5 2005年03月19日 07:30:52 rurban // fixed missing IMAP dependency. Thanks to sun-man