X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fphpmailer%2Fclass.smtp.php;h=be084a116e117b695b278ab460af49f3969763f6;hp=50779bf96740f2bc9457bab8af49a88341e05d3b;hb=e21643e2e189fce46c94e060caee67ca507ccf51;hpb=1135eca961b9e2b4deb1ff6a17adebaf7e8f889f diff --git a/inc/phpmailer/class.smtp.php b/inc/phpmailer/class.smtp.php index 50779bf967..be084a116e 100644 --- a/inc/phpmailer/class.smtp.php +++ b/inc/phpmailer/class.smtp.php @@ -2,7 +2,7 @@ /*~ class.smtp.php .---------------------------------------------------------------------------. | Software: PHPMailer - PHP email class | -| Version: 2.0.3 | +| Version: 2.0.4 | | Contact: via sourceforge.net support pages (also www.codeworxtech.com) | | Info: http://phpmailer.sourceforge.net | | Support: http://sourceforge.net/projects/phpmailer/ | @@ -73,11 +73,11 @@ class SMTP * @return void */ function SMTP() { - $this->smtp_conn = '0'; + $this->smtp_conn = 0; $this->error = null; $this->helo_rply = null; - $this->do_debug = '0'; + $this->do_debug = 0; } /************************************************************* @@ -252,7 +252,7 @@ class SMTP if(!empty($this->smtp_conn)) { # close the connection and cleanup fclose($this->smtp_conn); - $this->smtp_conn = '0'; + $this->smtp_conn = 0; } } @@ -1038,7 +1038,7 @@ class SMTP */ function get_lines() { $data = ""; - while($str == @fgets($this->smtp_conn,515)) { + while($str = @fgets($this->smtp_conn,515)) { if($this->do_debug >= 4) { echo "SMTP -> get_lines(): \$data was \"$data\"" . $this->CRLF;