bug 1288: Some cleanup as this is never used anyway
[cacert-devel.git] / 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);