Changeset 3bacee1 in mainline for uspace/srv/net/inetsrv/pdu.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/inetsrv/pdu.c

    r76d0981d r3bacee1  
    7272
    7373        for (i = 0; i < words; i++) {
    74                 w = ((uint16_t)bdata[2*i] << 8) | bdata[2*i + 1];
     74                w = ((uint16_t)bdata[2 * i] << 8) | bdata[2 * i + 1];
    7575                sum = inet_ocadd16(sum, w);
    7676        }
    7777
    7878        if (size % 2 != 0) {
    79                 w = ((uint16_t)bdata[2*words] << 8);
     79                w = ((uint16_t)bdata[2 * words] << 8);
    8080                sum = inet_ocadd16(sum, w);
    8181        }
Note: See TracChangeset for help on using the changeset viewer.