diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-10-20 18:46:30 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-10-31 17:22:49 +0100 |
commit | da8fe333327e8020170fcfef88a9e7fab6197377 (patch) | |
tree | f516f8be38c9520c238acbe4bce525fbafc4ede6 /src/peer.h | |
parent | 3b520e44d0461b9dc216eb3b9781e389f2fbbec2 (diff) |
global: accept decent check_patch.pl suggestions
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/peer.h')
-rw-r--r-- | src/peer.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -69,7 +69,9 @@ struct wireguard_peer *peer_lookup_by_index(struct wireguard_device *wg, u32 ind unsigned int peer_total_count(struct wireguard_device *wg); -/* This is a macro iterator of essentially this: +/* This is a macro iterator of essentially as follows, with the + * exception that typing `break` in the ITERATOR_BODY will still + * actually put the peer reference: * * if (__should_lock) * mutex_lock(&(__wg)->device_update_lock); |