1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-04-14 17:49:15 -04:00

Fix according to go vet results

This commit is contained in:
loyalsoldier
2020-08-26 19:35:33 +08:00
parent 30edcef67a
commit f9175e3bc8
12 changed files with 22 additions and 22 deletions

View File

@@ -42,7 +42,7 @@ func New(ctx context.Context, config *Config) (*Handler, error) {
serverList := protocol.NewServerList()
for _, rec := range config.Receiver {
s, err := protocol.NewServerSpecFromPB(*rec)
s, err := protocol.NewServerSpecFromPB(rec)
if err != nil {
return nil, newError("failed to parse server spec").Base(err).AtError()
}