Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Should only log errors while active.

  • Loading branch information...
commit be16eed24176c4a712dca5022e955d5d5e4a23ea 1 parent 9552832
Eric Day authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  smtp_client.js
2  smtp_client.js
View
@@ -110,7 +110,7 @@ function SMTPClient(port, host, timeout, enable_tls) {
if (self.state == STATE_IDLE) {
self.state = STATE_DEAD;
}
- else if (self.state != STATE_DEAD && self.state != STATE_DESTROYED) {
+ else if (self.state == STATE_ACTIVE) {
if (!error) {
error = '';
}
Please sign in to comment.
Something went wrong with that request. Please try again.