Skip to content

Commit b5a5065

Browse files
committed
Go fixes
1 parent 6e1e5e3 commit b5a5065

File tree

11 files changed

+1
-11
lines changed

11 files changed

+1
-11
lines changed

dnscrypt-proxy/fuzzing_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build gofuzzbeta
2-
// +build gofuzzbeta
32

43
package main
54

dnscrypt-proxy/netprobe_others.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !windows
2-
// +build !windows
32

43
package main
54

dnscrypt-proxy/plugin_forward.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ func (plugin *PluginForward) Eval(pluginsState *PluginsState, msg *dns.Msg) erro
172172
}
173173
var err error
174174
var respMsg *dns.Msg
175-
var tries = 4
175+
tries := 4
176176
for _, item := range sequence {
177177
var server string
178178
switch item.typ {

dnscrypt-proxy/privilege_others.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !windows && !linux
2-
// +build !windows,!linux
32

43
package main
54

dnscrypt-proxy/service_android.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build android
2-
// +build android
32

43
package main
54

dnscrypt-proxy/service_linux.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !android
2-
// +build !android
32

43
package main
54

dnscrypt-proxy/service_others.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !linux && !windows
2-
// +build !linux,!windows
32

43
package main
54

dnscrypt-proxy/setsockopts_others.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !freebsd && !openbsd && !windows && !darwin && !linux
2-
// +build !freebsd,!openbsd,!windows,!darwin,!linux
32

43
package main
54

dnscrypt-proxy/systemd_free.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !linux
2-
// +build !linux
32

43
package main
54

dnscrypt-proxy/systemd_linux.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !android
2-
// +build !android
32

43
package main
54

0 commit comments

Comments
 (0)