Changes in uspace/srv/net/dnsrsrv/dns_msg.c [feeac0d:0aa70f4] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/dnsrsrv/dns_msg.c
rfeeac0d r0aa70f4 510 510 size = sizeof(dns_header_t); 511 511 512 list_foreach(msg->question, msg, dns_question_t, q) { 512 list_foreach(msg->question, link) { 513 dns_question_t *q = list_get_instance(link, dns_question_t, msg); 513 514 rc = dns_question_encode(q, NULL, 0, &q_size); 514 515 if (rc != EOK) … … 525 526 di = sizeof(dns_header_t); 526 527 527 list_foreach(msg->question, msg, dns_question_t, q) { 528 list_foreach(msg->question, link) { 529 dns_question_t *q = list_get_instance(link, dns_question_t, msg); 528 530 rc = dns_question_encode(q, data + di, size - di, &q_size); 529 531 if (rc != EOK) {
Note:
See TracChangeset
for help on using the changeset viewer.