X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9d87ca5268acfd15dfaf5068cc40f9d00a03e8c3..52d02fda9bad1a0ffe9b03b819e64ae1af4787db:/teshsuite/msg/app-bittorrent/bittorrent-peer.c diff --git a/teshsuite/msg/app-bittorrent/bittorrent-peer.c b/teshsuite/msg/app-bittorrent/bittorrent-peer.c index 700d920c3a..69818a5ead 100644 --- a/teshsuite/msg/app-bittorrent/bittorrent-peer.c +++ b/teshsuite/msg/app-bittorrent/bittorrent-peer.c @@ -591,7 +591,7 @@ void update_choked_peers(peer_t peer) // remove a peer from the list xbt_dict_cursor_t cursor = NULL; xbt_dict_cursor_first(peer->active_peers, &cursor); - if (!xbt_dict_is_empty(peer->active_peers)) { + if (not xbt_dict_is_empty(peer->active_peers)) { key_choked = xbt_dict_cursor_get_key(cursor); peer_choked = xbt_dict_cursor_get_data(cursor); }