Forráskód Böngészése

Minor code cleanup

Rod Hynes 9 éve
szülő
commit
642c593469
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      psiphon/tunnel.go

+ 1 - 1
psiphon/tunnel.go

@@ -642,7 +642,7 @@ func dialSsh(
 	}
 
 	if meekConfig != nil || upstreamProxyType == "http" {
-		dialCustomHeaders, selectedUserAgent = UserAgentIfUnset(config.CustomHeaders)
+		dialCustomHeaders, selectedUserAgent = UserAgentIfUnset(dialCustomHeaders)
 	}
 
 	// Use an asynchronous callback to record the resolved IP address when