diff options
author | Runxi Yu <me@runxiyu.org> | 2025-01-04 21:01:08 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-01-04 21:18:00 +0800 |
commit | c4b96658a0883d94186ce2b64305dcafaf567922 (patch) | |
tree | f7826c4b4629e489578c57e5941ba8b53fb78e85 /main.go | |
parent | Reformat files (diff) | |
download | maild-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.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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) |