Skip to content

Commit

Permalink
Use correct timeout property in debug output, clarify debug output, see
Browse files Browse the repository at this point in the history
  • Loading branch information
Synchro committed Mar 26, 2020
1 parent a8bf068 commit a12c95e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SMTP.php
Expand Up @@ -1168,7 +1168,7 @@ protected function get_lines()
//Must pass vars in here as params are by reference
if (!stream_select($selR, $selW, $selW, $this->Timelimit)) {
$this->edebug(
'SMTP -> get_lines(): timed-out (' . $this->Timeout . ' sec)',
'SMTP -> get_lines(): select timed-out in (' . $this->Timelimit . ' sec)',
self::DEBUG_LOWLEVEL
);
break;
Expand All @@ -1187,7 +1187,7 @@ protected function get_lines()
$info = stream_get_meta_data($this->smtp_conn);
if ($info['timed_out']) {
$this->edebug(
'SMTP -> get_lines(): timed-out (' . $this->Timeout . ' sec)',
'SMTP -> get_lines(): stream timed-out (' . $this->Timeout . ' sec)',
self::DEBUG_LOWLEVEL
);
break;
Expand Down

0 comments on commit a12c95e

Please sign in to comment.