Merge branch 'master' of github.com:jedisct1/dnscrypt-proxy

* 'master' of github.com:jedisct1/dnscrypt-proxy:
  Tiny typo in error message (#350)
This commit is contained in:
Frank Denis 2018-04-12 11:07:46 +02:00
commit 0cca203bb0
1 changed files with 2 additions and 2 deletions

View File

@ -467,12 +467,12 @@ func (config *Config) loadSource(proxy *Proxy, requiredProps ServerInformalPrope
source, sourceUrlsToPrefetch, err := NewSource(proxy.xTransport, cfgSource.URLs, cfgSource.MinisignKeyStr, cfgSource.CacheFile, cfgSource.FormatStr, time.Duration(cfgSource.RefreshDelay)*time.Hour)
proxy.urlsToPrefetch = append(proxy.urlsToPrefetch, sourceUrlsToPrefetch...)
if err != nil {
dlog.Criticalf("Unable use source [%s]: [%s]", cfgSourceName, err)
dlog.Criticalf("Unable to use source [%s]: [%s]", cfgSourceName, err)
return nil
}
registeredServers, err := source.Parse(cfgSource.Prefix)
if err != nil {
dlog.Criticalf("Unable use source [%s]: [%s]", cfgSourceName, err)
dlog.Criticalf("Unable to use source [%s]: [%s]", cfgSourceName, err)
return nil
}
for _, registeredServer := range registeredServers {