bug 1288: Some cleanup as this is never used anyway bug-1288
authorBenny Baumann <BenBE@geshi.org>
Sun, 30 Nov 2014 17:42:09 +0000 (18:42 +0100)
committerBenny Baumann <BenBE@geshi.org>
Sun, 30 Nov 2014 17:42:09 +0000 (18:42 +0100)
includes/general.php

index ac9ac87..b34b870 100644 (file)
                                                fputs($fp, "EHLO www.cacert.org\r\n");
                                                do {
                                                        $line = fgets($fp, 4096);
-                                                       $has_starttls |= trim($line) == "250-STARTTLS";
                                                } while(substr($line, 0, 4) == "250-");
                                                if(substr($line, 0, 3) != "250") {
                                                        fclose($fp);