diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-12-24 17:41:11 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-12-24 17:56:40 +0100 |
commit | b3a9d980f303ab49614eee336fb9c54e98c9e530 (patch) | |
tree | ffbbf6e04bcd4ba9f15dcd93e1c61cc0ab4ac672 /src/libsystemd-network/dhcp-option.c | |
parent | tree-wide: insert space after for and switch (diff) | |
download | systemd-b3a9d980f303ab49614eee336fb9c54e98c9e530.tar.xz systemd-b3a9d980f303ab49614eee336fb9c54e98c9e530.zip |
tree-wide: drop space between variable and an increment/decrement
Diffstat (limited to 'src/libsystemd-network/dhcp-option.c')
-rw-r--r-- | src/libsystemd-network/dhcp-option.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd-network/dhcp-option.c b/src/libsystemd-network/dhcp-option.c index 5e216c5139..4025dd3632 100644 --- a/src/libsystemd-network/dhcp-option.c +++ b/src/libsystemd-network/dhcp-option.c @@ -283,7 +283,7 @@ static int parse_options(const uint8_t options[], size_t buflen, uint8_t *overlo int r; while (offset < buflen) { - code = options[offset ++]; + code = options[offset++]; switch (code) { case SD_DHCP_OPTION_PAD: @@ -296,7 +296,7 @@ static int parse_options(const uint8_t options[], size_t buflen, uint8_t *overlo if (buflen < offset + 1) return -ENOBUFS; - len = options[offset ++]; + len = options[offset++]; if (buflen < offset + len) return -EINVAL; |