Просмотр исходного кода

Fix: tapdance_disabled.go compile error

Rod Hynes 6 лет назад
Родитель
Сommit
758bd669ff
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      psiphon/common/tapdance/tapdance_disabled.go

+ 1 - 1
psiphon/common/tapdance/tapdance_disabled.go

@@ -47,6 +47,6 @@ func Listen(_ string) (*Listener, error) {
 }
 }
 
 
 // Dial establishes a new Tapdance session to a Tapdance station.
 // Dial establishes a new Tapdance session to a Tapdance station.
-func Dial(_ context.Context, _ string, _ common.NetDialer, _ string) (net.Conn, error) {
+func Dial(_ context.Context, _ bool, _ string, _ common.NetDialer, _ string) (net.Conn, error) {
 	return nil, common.ContextError(disabledError)
 	return nil, common.ContextError(disabledError)
 }
 }