Permalink
Browse files

Should only log errors while active.

  • Loading branch information...
1 parent 9552832 commit be16eed24176c4a712dca5022e955d5d5e4a23ea Eric Day committed Apr 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 = '';
}

0 comments on commit be16eed

Please sign in to comment.