mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-02-11 14:54:27 -05:00
Fixup buffer position.
git-svn-id: file:///svn/unbound/trunk@328 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
b461dc4111
commit
66addd85e7
1 changed files with 1 additions and 1 deletions
|
|
@ -357,7 +357,7 @@ int reply_info_parse(ldns_buffer* pkt, struct alloc_cache* alloc,
|
|||
}
|
||||
memset(msg, 0, sizeof(*msg));
|
||||
|
||||
log_assert(ldns_buffer_position(pkt) == 0);
|
||||
ldns_buffer_set_position(pkt, 0);
|
||||
if((ret = parse_packet(pkt, msg, region)) != 0) {
|
||||
return ret;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue