mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
modules/net_dns: Fix placement offset in results buffer.
This commit is contained in:
parent
791c64c35b
commit
1c16e15753
1 changed files with 1 additions and 1 deletions
|
@ -357,7 +357,7 @@ ircd::net::dns::new_record(mutable_buffer &buf,
|
|||
|
||||
const auto pos(data(buf));
|
||||
consume(buf, sizeof(type));
|
||||
return new (data(buf)) type(answer);
|
||||
return new (pos) type(answer);
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue