Skip to content

Commit

Permalink
Fix mailhog/MailHog#22 (hopefully 😺)
Browse files Browse the repository at this point in the history
  • Loading branch information
ian-kent committed Jan 8, 2015
1 parent 146bede commit a251922
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions protocol.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@ func (proto *Protocol) ProcessData(line string) (reply *Reply) {

msg := proto.Message.Parse(proto.Hostname)

defer proto.resetState()

if proto.MessageReceivedHandler == nil {
return ReplyStorageFailed("No storage backend")
}
Expand Down

0 comments on commit a251922

Please # to comment.