Changeset 9f029aa in mainline for uspace/srv/net/dnsrsrv/query.c


Ignore:
Timestamp:
2013-05-08T10:07:36Z (12 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
959d2ec
Parents:
d531bd6
Message:

Simplify slightly, comments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/dnsrsrv/query.c

    rd531bd6 r9f029aa  
    9797                    str_cmp(rr->name, sname) == 0) {
    9898                        log_msg(LOG_DEFAULT, LVL_DEBUG, "decode cname (%p, %zu, %zu)",
    99                             amsg->raw, amsg->raw_size, rr->roff);
    100                         rc = dns_name_decode(amsg->raw, amsg->raw_size, rr->roff,
    101                             &cname, &eoff);
     99                            amsg->pdu.data, amsg->pdu.size, rr->roff);
     100                        rc = dns_name_decode(&amsg->pdu, rr->roff, &cname, &eoff);
    102101                        if (rc != EOK) {
    103102                                log_msg(LOG_DEFAULT, LVL_DEBUG,
Note: See TracChangeset for help on using the changeset viewer.