diff options
author | Runxi Yu <me@runxiyu.org> | 2025-01-13 16:47:53 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-01-13 16:47:53 +0800 |
commit | f5d321c4a92b72f8126a33b08ba0ff315918dc0f (patch) | |
tree | ac001d7b3f3d4e715672bbfc311d7687a9f802e6 /serve_imap.go | |
parent | Listen to IMAP (diff) | |
download | maild-f5d321c4a92b72f8126a33b08ba0ff315918dc0f.tar.gz maild-f5d321c4a92b72f8126a33b08ba0ff315918dc0f.tar.zst maild-f5d321c4a92b72f8126a33b08ba0ff315918dc0f.zip |
Reformat code
Diffstat (limited to 'serve_imap.go')
-rw-r--r-- | serve_imap.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/serve_imap.go b/serve_imap.go index f1d195d..5337570 100644 --- a/serve_imap.go +++ b/serve_imap.go @@ -22,7 +22,6 @@ func serve_imap() { } clog.Info("IMAP: Listening via " + imap_net + " on " + imap_addr) - server := imapserver.New(&imapserver.Options{ NewSession: func(conn *imapserver.Conn) (imapserver.Session, *imapserver.GreetingData, error) { return nil, nil, nil @@ -31,7 +30,7 @@ func serve_imap() { imap.CapIMAP4rev1: {}, imap.CapIMAP4rev2: {}, }, - DebugWriter: nil, // TODO + DebugWriter: nil, // TODO }) err = server.Serve(listener) if err != nil { |