Skip to content

Commit 052c3f8

Browse files
committed
fix missing return
1 parent 10ef38e commit 052c3f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/conn.go

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ func NewConn(conn net.Conn, user string, password string, h Handler) (*Conn, err
4646
if defaultServer == nil {
4747
defaultServer = NewDefaultServer()
4848
}
49+
return defaultServer.NewConn(conn, user, password, h)
4950
}
5051

5152
// NewCustomizedConn: create connection with customized server settings

0 commit comments

Comments
 (0)