aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-01-12 18:22:02 +0800
committerRunxi Yu <me@runxiyu.org>2025-01-12 18:22:02 +0800
commit5294c5740f8ee7904ff8994c27059458cb8f5f6a (patch)
tree56d4831adb36ff3590b583131f96d578d3e20875 /main.go
parentRename db -> global_db (diff)
downloadmaild-5294c5740f8ee7904ff8994c27059458cb8f5f6a.tar.gz
maild-5294c5740f8ee7904ff8994c27059458cb8f5f6a.tar.zst
maild-5294c5740f8ee7904ff8994c27059458cb8f5f6a.zip
Restructure mta_recv -> mx_recv
Diffstat (limited to '')
-rw-r--r--main.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/main.go b/main.go
index 378ac44..274e9b7 100644
--- a/main.go
+++ b/main.go
@@ -1,7 +1,6 @@
package main
import (
- "bufio"
"errors"
"flag"
"io"
@@ -34,7 +33,7 @@ func main() {
}
go func() {
- err := handle_incoming_server_connection(bufio.NewReadWriter(bufio.NewReader(conn), bufio.NewWriter(conn)), &conn)
+ err := handle_mx_recv_conn(conn)
if err != nil && !errors.Is(err, io.EOF) {
clog.Error("connection handler returned error", "err", err)
}