Changeset 99c2c69e in mainline for uspace/srv/net/dnsrsrv/dns_msg.c
- Timestamp:
- 2013-09-13T00:36:30Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 67fbd5e
- Parents:
- 7f84430 (diff), 11d41be5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/dnsrsrv/dns_msg.c
r7f84430 r99c2c69e 510 510 size = sizeof(dns_header_t); 511 511 512 list_foreach(msg->question, link) { 513 dns_question_t *q = list_get_instance(link, dns_question_t, msg); 512 list_foreach(msg->question, msg, dns_question_t, q) { 514 513 rc = dns_question_encode(q, NULL, 0, &q_size); 515 514 if (rc != EOK) … … 526 525 di = sizeof(dns_header_t); 527 526 528 list_foreach(msg->question, link) { 529 dns_question_t *q = list_get_instance(link, dns_question_t, msg); 527 list_foreach(msg->question, msg, dns_question_t, q) { 530 528 rc = dns_question_encode(q, data + di, size - di, &q_size); 531 529 if (rc != EOK) {
Note:
See TracChangeset
for help on using the changeset viewer.