浏览代码

Minor code cleanup

Rod Hynes 9 年之前
父节点
当前提交
642c593469
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      psiphon/tunnel.go

+ 1 - 1
psiphon/tunnel.go

@@ -642,7 +642,7 @@ func dialSsh(
 	}
 	}
 
 
 	if meekConfig != nil || upstreamProxyType == "http" {
 	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
 	// Use an asynchronous callback to record the resolved IP address when