diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2021-07-09 13:15:01 +0200 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2021-07-09 20:54:22 +0100 |
commit | 2f0927626abf6ac6c99a42c1c7fa159063bfc8ee (patch) | |
tree | 5ae1a49a9023f7e4e00177f390c9c4a25b06858e /src/libsystemd-network | |
parent | 0de0ba573b9c0070b0280300c42111a5b0d7e655 (diff) | |
download | systemd-2f0927626abf6ac6c99a42c1c7fa159063bfc8ee.tar.gz |
tree-wide: coccinelle fixes
Yet another batch of Coccinelle fixes.
Diffstat (limited to 'src/libsystemd-network')
-rw-r--r-- | src/libsystemd-network/sd-dhcp-client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/sd-dhcp-client.c b/src/libsystemd-network/sd-dhcp-client.c index dc8ff19d1a..3c8c440771 100644 --- a/src/libsystemd-network/sd-dhcp-client.c +++ b/src/libsystemd-network/sd-dhcp-client.c @@ -238,7 +238,7 @@ int sd_dhcp_client_set_callback( int sd_dhcp_client_set_request_broadcast(sd_dhcp_client *client, int broadcast) { assert_return(client, -EINVAL); - client->request_broadcast = !!broadcast; + client->request_broadcast = broadcast; return 0; } |