Rod Hynes 8 лет назад
Родитель
Сommit
1bec5867b7
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      psiphon/server/tunnelServer.go

+ 2 - 2
psiphon/server/tunnelServer.go

@@ -1794,8 +1794,8 @@ func (sshClient *sshClient) setHandshakeState(
 	// authorizationIDs and authorizedAccessTypes are returned to the client and logged,
 	// respectively; initialize to empty lists so the protocol/logs don't need to handle
 	// 'null' values.
-	authorizationIDs = make([]string, 0)
-	authorizedAccessTypes = make([]string, 0)
+	authorizationIDs := make([]string, 0)
+	authorizedAccessTypes := make([]string, 0)
 	var stopTime time.Time
 
 	for i, authorization := range authorizations {