mirror of https://github.com/v2ray/v2ray-core
fix build error
parent
6c4850634b
commit
2ff93c65f3
|
@ -33,7 +33,7 @@ func Dial(ctx context.Context, dest net.Destination) (Connection, error) {
|
||||||
ctx = ContextWithStreamSettings(ctx, streamSettings)
|
ctx = ContextWithStreamSettings(ctx, streamSettings)
|
||||||
}
|
}
|
||||||
|
|
||||||
protocol = streamSettings.ProtocolName
|
protocol := streamSettings.ProtocolName
|
||||||
dialer := transportDialerCache[protocol]
|
dialer := transportDialerCache[protocol]
|
||||||
if dialer == nil {
|
if dialer == nil {
|
||||||
return nil, newError(protocol, " dialer not registered").AtError()
|
return nil, newError(protocol, " dialer not registered").AtError()
|
||||||
|
|
Loading…
Reference in New Issue