aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-01-04 21:01:08 +0800
committerRunxi Yu <me@runxiyu.org>2025-01-04 21:18:00 +0800
commitc4b96658a0883d94186ce2b64305dcafaf567922 (patch)
treef7826c4b4629e489578c57e5941ba8b53fb78e85 /main.go
parentReformat files (diff)
downloadmaild-c4b96658a0883d94186ce2b64305dcafaf567922.tar.gz
maild-c4b96658a0883d94186ce2b64305dcafaf567922.tar.zst
maild-c4b96658a0883d94186ce2b64305dcafaf567922.zip
Use Open_file_at instead of Open
Diffstat (limited to 'main.go')
-rw-r--r--main.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/main.go b/main.go
index 94f195e..2d6b706 100644
--- a/main.go
+++ b/main.go
@@ -19,6 +19,11 @@ func main() {
panic(err)
}
+ err = prepare_dirs()
+ if err != nil {
+ panic(err)
+ }
+
listener, err := net.Listen("tcp", ":25")
if err != nil {
panic(err)