mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-26 15:05:50 +03:00
Merge pull request #70 in DNS/adguard-dns from hotfix to master
* commit '4995c1a1a8411445390a77235f2ebfbc97b12ff3':
Hotfix -- fix querylog verifier that got broken by 5ae2a32d6e
This commit is contained in:
commit
8cf898e8d9
1 changed files with 2 additions and 2 deletions
|
@ -96,8 +96,8 @@ func checkBuffer(buffer []*logEntry, b bytes.Buffer) error {
|
|||
|
||||
i := 0
|
||||
for d.More() {
|
||||
var entry logEntry
|
||||
err := d.Decode(&entry)
|
||||
entry := &logEntry{}
|
||||
err := d.Decode(entry)
|
||||
if err != nil {
|
||||
log.Printf("Failed to decode: %s", err)
|
||||
return err
|
||||
|
|
Loading…
Reference in a new issue