Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Small simplification

  • Loading branch information...
commit 3879e2700336c05aa308335c58a362ad2c5509a7 1 parent f704bae
@Synchro authored
Showing with 7 additions and 9 deletions.
  1. +7 −9 class.smtp.php
View
16 class.smtp.php
@@ -845,16 +845,14 @@ protected function get_lines()
break;
}
// Now check if reads took too long
- if ($endtime) {
- if (time() > $endtime) {
- if ($this->do_debug >= 4) {
- $this->edebug(
- 'SMTP -> get_lines(): timelimit reached ('.
- $this->Timelimit . ' sec)'
- );
- }
- break;
+ if ($endtime and time() > $endtime) {
+ if ($this->do_debug >= 4) {
+ $this->edebug(
+ 'SMTP -> get_lines(): timelimit reached ('.
+ $this->Timelimit . ' sec)'
+ );
}
+ break;
}
}
return $data;
Please sign in to comment.
Something went wrong with that request. Please try again.