clean up code

This commit is contained in:
Agioi Theodoroi authored and Kslr committed 2020-06-27 07:51:42 +08:00
1 parent 1432278c2c
commit bbd3988f3d
7 files changed
+3 -15

No files matched your search

-1
View File
@@ -50,7 +50,6 @@ func ReadTCPSession(user *protocol.MemoryUser, reader io.Reader) (*protocol.Requ
return nil, nil, newError("failed to initialize decoding stream").Base(err).AtError()
}
br := &buf.BufferedReader{Reader: r}
reader = nil
authenticator := NewAuthenticator(HeaderKeyGenerator(account.Key, iv))
request := &protocol.RequestHeader{