diff options
author | René 'Necoro' Neumann <necoro@necoro.eu> | 2021-02-15 23:59:38 +0100 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.eu> | 2021-02-15 23:59:38 +0100 |
commit | 9d927b399e409990003b25efa8ca7395e9cad021 (patch) | |
tree | 62647e87c23536c68bc4ecb8fdbeb5d6c8ab3086 /pkg/util/fixWriter.go | |
parent | 0aa048e3032f963335670fc882a4f97e3c00ee8d (diff) | |
download | feed2imap-go-9d927b399e409990003b25efa8ca7395e9cad021.tar.gz feed2imap-go-9d927b399e409990003b25efa8ca7395e9cad021.tar.bz2 feed2imap-go-9d927b399e409990003b25efa8ca7395e9cad021.zip |
Issue #46: Improvements; add tests
Diffstat (limited to 'pkg/util/fixWriter.go')
-rw-r--r-- | pkg/util/fixWriter.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/util/fixWriter.go b/pkg/util/fixWriter.go index 51637eb..d78b618 100644 --- a/pkg/util/fixWriter.go +++ b/pkg/util/fixWriter.go @@ -59,5 +59,5 @@ func (f fixWriter) Write(p []byte) (n int, err error) { // Cyrus IMAP really cares about single \r and \n. // Implement this fixer to change them into \r\n. func FixWriter(w io.Writer) io.Writer { - return &fixWriter{w} + return fixWriter{w} } |