a comment

This commit is contained in:
Sven M. Hallberg 2013-01-17 21:59:55 +01:00
parent e6a546b95b
commit c9d3101f41

View file

@ -46,6 +46,7 @@ bool validate_message(HParseResult *p) {
// Semantic Actions
///
// Helper: Parse and pack the RDATA field of a Resource Record.
void set_rdata(struct dns_rr rr, HCountedArray *rdata) {
uint8_t *data = h_arena_malloc(rdata->arena, sizeof(uint8_t)*rdata->used);
for (size_t i=0; i<rdata->used; ++i)