mirror of
https://github.com/rclone/rclone.git
synced 2025-02-28 03:07:23 +08:00
Fix --bind flag changes under go1.6
Correcting 9f2463956884c0e995cf6f7140af0dc06af096e0
This commit is contained in:
parent
6fce1ac267
commit
c3d6cc91ec
@ -21,5 +21,5 @@ func (ci *ConfigInfo) dialTimeout(network, address string) (net.Conn, error) {
|
|||||||
|
|
||||||
// Initialise the http.Transport for pre go1.7
|
// Initialise the http.Transport for pre go1.7
|
||||||
func (ci *ConfigInfo) initTransport(t *http.Transport) {
|
func (ci *ConfigInfo) initTransport(t *http.Transport) {
|
||||||
t.Dial = dialTimeout
|
t.Dial = ci.dialTimeout
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user