Closed eterry1388 closed 4 years ago
build-ios-framework.sh fails with these errors:
build-ios-framework.sh
.build/src/github.com/jedisct1/dnscrypt-proxy/dnscrypt-proxy/local-doh.go:56:11: assignment mismatch: 1 variable but proxy.processIncomingQuery returns 2 values
.build/src/github.com/jedisct1/dnscrypt-proxy/dnscrypt-proxy/local-doh.go:56:40: not enough arguments in call to proxy.processIncomingQuery have (*ServerInfo, string, string, []byte, *net.Addr, nil, time.Time) want (*ServerInfo, string, string, []byte, *net.Addr, net.Conn, time.Time, int)
I "fixed" the issue by changing this line in dnscrypt-proxy/local-doh.go:
dnscrypt-proxy/local-doh.go
- response := proxy.processIncomingQuery(proxy.serversInfo.getOne(), "local_doh", proxy.mainProto, packet, &xClientAddr, nil, start) + response, _ := proxy.processIncomingQuery(proxy.serversInfo.getOne(), "local_doh", proxy.mainProto, packet, &xClientAddr, nil, start, 0)
Fixed, should build now. Haven't pushed local changes. -_- Thank you for noticing!
build-ios-framework.sh
fails with these errors:I "fixed" the issue by changing this line in
dnscrypt-proxy/local-doh.go
: