diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2016-02-23 08:45:54 +0100 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2016-02-23 08:45:54 +0100 |
commit | a9ae0709416fe498de85744ce639ba6a9fc50105 (patch) | |
tree | ca014a3951bf31c20900bfefb1b41f88af36a9c5 /src/libsystemd/sd-netlink/test-netlink.c | |
parent | 16fe5e8b1d5b073c5731b170c34bddd52ccbc4ec (diff) | |
parent | 313cefa1d96ff039d31994e4ea22e6c531a99ebd (diff) |
Merge pull request #2709 from vcaputo/normalize_inc_dec_usage
tree-wide: make ++/-- usage consistent WRT spacing
Diffstat (limited to 'src/libsystemd/sd-netlink/test-netlink.c')
-rw-r--r-- | src/libsystemd/sd-netlink/test-netlink.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsystemd/sd-netlink/test-netlink.c b/src/libsystemd/sd-netlink/test-netlink.c index de5e0ffc8f..f9b6787187 100644 --- a/src/libsystemd/sd-netlink/test-netlink.c +++ b/src/libsystemd/sd-netlink/test-netlink.c @@ -234,7 +234,7 @@ static int pipe_handler(sd_netlink *rtnl, sd_netlink_message *m, void *userdata) int *counter = userdata; int r; - (*counter) --; + (*counter)--; r = sd_netlink_message_get_errno(m); @@ -276,10 +276,10 @@ static void test_pipe(int ifindex) { assert_se(sd_rtnl_message_new_link(rtnl, &m1, RTM_GETLINK, ifindex) >= 0); assert_se(sd_rtnl_message_new_link(rtnl, &m2, RTM_GETLINK, ifindex) >= 0); - counter ++; + counter++; assert_se(sd_netlink_call_async(rtnl, m1, &pipe_handler, &counter, 0, NULL) >= 0); - counter ++; + counter++; assert_se(sd_netlink_call_async(rtnl, m2, &pipe_handler, &counter, 0, NULL) >= 0); while (counter > 0) { |