mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-08 16:38:12 +00:00
fix build error
This commit is contained in:
1 file changed
+1
-1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user