summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/dhcp6-option.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-04-01 22:37:21 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-04-01 22:48:42 +0900
commit798931160ee2b1ceadd4202abf881157bbaadead (patch)
tree6a9051bcc6590d12dedc006b400575c79b6bcdf4 /src/libsystemd-network/dhcp6-option.c
parent72dce85a60d4fda2719b2e759f4d339c16cc3910 (diff)
downloadsystemd-798931160ee2b1ceadd4202abf881157bbaadead.tar.gz
tree-wide: add a space after if, switch, for, and while
Diffstat (limited to 'src/libsystemd-network/dhcp6-option.c')
-rw-r--r--src/libsystemd-network/dhcp6-option.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd-network/dhcp6-option.c b/src/libsystemd-network/dhcp6-option.c
index 4e6ee7970e..eccfbe8b65 100644
--- a/src/libsystemd-network/dhcp6-option.c
+++ b/src/libsystemd-network/dhcp6-option.c
@@ -548,7 +548,7 @@ static int dhcp6_option_parse_ia_options(sd_dhcp6_client *client, const uint8_t
assert(buf || buflen == 0);
- for(size_t offset = 0; offset < buflen;) {
+ for (size_t offset = 0; offset < buflen;) {
const uint8_t *data;
size_t data_len;
uint16_t code;
@@ -557,7 +557,7 @@ static int dhcp6_option_parse_ia_options(sd_dhcp6_client *client, const uint8_t
if (r < 0)
return r;
- switch(code) {
+ switch (code) {
case SD_DHCP6_OPTION_STATUS_CODE: {
_cleanup_free_ char *msg = NULL;