aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-01-16 11:48:09 +0800
committerRunxi Yu <me@runxiyu.org>2025-01-16 11:48:09 +0800
commitc418912bceae0e91ffae1a29e406df7e3d700921 (patch)
treecedbd698bbd01321c7aab8d6f2e22ecb0458ee2e
parentIMAP: Use TLS (diff)
downloadmaild-c418912bceae0e91ffae1a29e406df7e3d700921.tar.gz
maild-c418912bceae0e91ffae1a29e406df7e3d700921.tar.zst
maild-c418912bceae0e91ffae1a29e406df7e3d700921.zip
IMAP: Update error message for IMAP
-rw-r--r--serve_imap.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/serve_imap.go b/serve_imap.go
index c55ed3e..b62f384 100644
--- a/serve_imap.go
+++ b/serve_imap.go
@@ -108,7 +108,7 @@ func serve_imap() {
clog.Fatal(1, "IMAP: Cannot listen plain: "+err.Error())
}
default:
- clog.Fatal(1, "IMAP: Invalid transport for listening")
+ clog.Fatal(1, fmt.Sprintf("IMAP: Listen transport %#v is invalid", imap_trans))
}
if err != nil {