Changeset 3bacee1 in mainline for uspace/srv/net/dnsrsrv/dns_msg.c


Ignore:
Timestamp:
2018-04-12T16:27:17Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3cf22f9
Parents:
76d0981d
git-author:
Jiri Svoboda <jiri@…> (2018-04-11 19:25:33)
git-committer:
Jiri Svoboda <jiri@…> (2018-04-12 16:27:17)
Message:

Make ccheck-fix again and commit more good files.

File:
1 edited

Legend:

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

    r76d0981d r3bacee1  
    383383        question->qtype = dns_uint16_t_decode(pdu->data + name_eoff,
    384384            pdu->size - name_eoff);
    385         question->qclass = dns_uint16_t_decode(pdu->data + sizeof(uint16_t)
    386             + name_eoff, pdu->size - sizeof(uint16_t) - name_eoff);
     385        question->qclass = dns_uint16_t_decode(pdu->data + sizeof(uint16_t) +
     386            name_eoff, pdu->size - sizeof(uint16_t) - name_eoff);
    387387        *eoff = name_eoff + 2 * sizeof(uint16_t);
    388388
     
    449449
    450450        log_msg(LOG_DEFAULT, LVL_DEBUG2, "dns_rr_decode: rtype=0x%x, rclass=0x%x, ttl=0x%x",
    451             rr->rtype, rr->rclass, rr->ttl );
     451            rr->rtype, rr->rclass, rr->ttl);
    452452
    453453        rdlength = dns_uint16_t_decode(bp, bsz);
     
    510510            (msg->rd ? BIT_V(uint16_t, OPB_RD) : 0) |
    511511            (msg->ra ? BIT_V(uint16_t, OPB_RA) : 0) |
    512             msg->rcode
    513         );
     512            msg->rcode);
    514513
    515514        hdr.qd_count = host2uint16_t_be(list_count(&msg->question));
Note: See TracChangeset for help on using the changeset viewer.