Skip to content

Commit 1bac0e9

Browse files
committed
removed unused arguments
1 parent 4c72b94 commit 1bac0e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/handshake_resp.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func (c *Conn) readHandshakeResponse() error {
3030

3131
pos = c.readPluginName(data, pos)
3232

33-
cont, err := c.handleAuthMatch(authData, pos)
33+
cont, err := c.handleAuthMatch()
3434
if err != nil {
3535
return err
3636
}
@@ -191,7 +191,7 @@ func (c *Conn) handlePublicKeyRetrieval(authData []byte) (bool, error) {
191191
return true, nil
192192
}
193193

194-
func (c *Conn) handleAuthMatch(authData []byte, pos int) (bool, error) {
194+
func (c *Conn) handleAuthMatch() (bool, error) {
195195
// if the client responds the handshake with a different auth method, the server will send the AuthSwitchRequest packet
196196
// to the client to ask the client to switch.
197197

0 commit comments

Comments
 (0)