summaryrefslogtreecommitdiffstats
path: root/src/libsystemd-network/dhcp-option.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-12-24 17:41:11 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-12-24 17:56:40 +0100
commitb3a9d980f303ab49614eee336fb9c54e98c9e530 (patch)
treeffbbf6e04bcd4ba9f15dcd93e1c61cc0ab4ac672 /src/libsystemd-network/dhcp-option.c
parenttree-wide: insert space after for and switch (diff)
downloadsystemd-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.c4
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;