Changeset a35b458 in mainline for uspace/srv/net/dnsrsrv/dns_msg.c
- Timestamp:
- 2018-03-02T20:10:49Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f1380b7
- Parents:
- 3061bc1
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:38:31)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:10:49)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/dnsrsrv/dns_msg.c
r3061bc1 ra35b458 298 298 { 299 299 assert(buf_size >= 4); 300 300 301 301 uint32_t w = ((uint32_t) buf[0] << 24) + 302 302 ((uint32_t) buf[1] << 16) + 303 303 ((uint32_t) buf[2] << 8) + 304 304 buf[3]; 305 305 306 306 return w; 307 307 } … … 311 311 { 312 312 assert(buf_size >= 16); 313 313 314 314 addr128_t_be2host(buf, addr); 315 315 }
Note:
See TracChangeset
for help on using the changeset viewer.