Skip to content

Commit

Permalink
Merge pull request #5 from eday/master
Browse files Browse the repository at this point in the history
A better fix for that logging condition. It could have been happening while resetting.
  • Loading branch information
godsflaw committed Apr 13, 2012
2 parents cab5e1c + be16eed commit 690218b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smtp_client.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '';
}
Expand Down

0 comments on commit 690218b

Please sign in to comment.