Skip to content
This repository was archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
emersion committed Mar 7, 2019
1 parent 0de98de commit 2368c81
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion canonical.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func (c *simpleBodyCanonicalizer) Write(b []byte) (int, error) {

func (c *simpleBodyCanonicalizer) Close() error {
// Flush crlfBuf if it ends with a single \r (without a matching \n)
if len(c.crlfBuf) > 0 && c.crlfBuf[len(c.crlfBuf) - 1] == '\r' {
if len(c.crlfBuf) > 0 && c.crlfBuf[len(c.crlfBuf)-1] == '\r' {
if _, err := c.w.Write(c.crlfBuf); err != nil {
return err
}
Expand Down
8 changes: 4 additions & 4 deletions cmd/dkim-milter/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ import (
)

type session struct {
identity string
identity string
authResDelete []int
done <-chan error
verifs []*dkim.Verification // only valid after done is closed
pw *io.PipeWriter
done <-chan error
verifs []*dkim.Verification // only valid after done is closed
pw *io.PipeWriter
}

func newSession(identity string) *session {
Expand Down

0 comments on commit 2368c81

Please sign in to comment.