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_mx.go | |
parent | Listen to IMAP (diff) | |
download | maild-f5d321c4a92b72f8126a33b08ba0ff315918dc0f.tar.gz maild-f5d321c4a92b72f8126a33b08ba0ff315918dc0f.tar.zst maild-f5d321c4a92b72f8126a33b08ba0ff315918dc0f.zip |
Reformat code
Diffstat (limited to '')
-rw-r--r-- | serve_mx.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/serve_mx.go b/serve_mx.go index 32710be..5e52ed3 100644 --- a/serve_mx.go +++ b/serve_mx.go @@ -12,8 +12,8 @@ import ( "strings" "github.com/jackc/pgx/v5/pgxpool" - "go.lindenii.runxiyu.org/lindenii-common/mailkit" "go.lindenii.runxiyu.org/lindenii-common/clog" + "go.lindenii.runxiyu.org/lindenii-common/mailkit" ) type server_state_t uint @@ -233,7 +233,7 @@ func handle_mx_recv_conn(ctx context.Context, net_conn net.Conn) error { func serve_mx() { var mx_net, mx_addr string - config_consistent_run(func(){ + config_consistent_run(func() { mx_net = config.MX.Net mx_addr = config.MX.Addr }) |