1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 01:57:12 -05:00

fix build error

This commit is contained in:
Darien Raymond 2018-09-07 15:18:08 +02:00
parent 6c4850634b
commit 2ff93c65f3
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -33,7 +33,7 @@ func Dial(ctx context.Context, dest net.Destination) (Connection, error) {
ctx = ContextWithStreamSettings(ctx, streamSettings)
}
protocol = streamSettings.ProtocolName
protocol := streamSettings.ProtocolName
dialer := transportDialerCache[protocol]
if dialer == nil {
return nil, newError(protocol, " dialer not registered").AtError()