0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-10 05:58:56 +02:00

modules/net_dns: Fix placement offset in results buffer.

This commit is contained in:
Jason Volk 2019-09-04 10:21:02 -07:00
parent 791c64c35b
commit 1c16e15753

View file

@ -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);
}
//