From a12c95eb53f84ccaf145a4d892c9964c5916f653 Mon Sep 17 00:00:00 2001 From: Marcus Bointon Date: Thu, 26 Mar 2020 08:23:06 +0100 Subject: [PATCH] Use correct timeout property in debug output, clarify debug output, see #2018 --- src/SMTP.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SMTP.php b/src/SMTP.php index 1e38ba7da..bc08b271f 100644 --- a/src/SMTP.php +++ b/src/SMTP.php @@ -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; @@ -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;