aboutsummaryrefslogtreecommitdiff
path: root/serve_mx.go
diff options
context:
space:
mode:
Diffstat (limited to 'serve_mx.go')
-rw-r--r--serve_mx.go4
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
})