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

match signature with the Windows implementation

Adam Pritchard 1 год назад
Родитель
Сommit
2150fb700a
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      psiphon/common/networkid/networkid_disabled.go

+ 2 - 2
psiphon/common/networkid/networkid_disabled.go

@@ -27,6 +27,6 @@ func Enabled() bool {
 	return false
 	return false
 }
 }
 
 
-func Get() (compoundID, connectionType string, isVPN bool, err error) {
-	return "", "", false, fmt.Errorf("operation is not enabled")
+func Get() (string, error) {
+	return "", fmt.Errorf("operation is not enabled")
 }
 }