X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c83246c94a2ea53cc13a509c8f39da2c3403fc38..d55f9548c659a1e31267748bde0f8bc9846cd1d4:/examples/msg/bittorrent/connection.h diff --git a/examples/msg/bittorrent/connection.h b/examples/msg/bittorrent/connection.h index 6a31018bcf..c2cb1264d6 100644 --- a/examples/msg/bittorrent/connection.h +++ b/examples/msg/bittorrent/connection.h @@ -15,6 +15,7 @@ typedef struct s_connection { int messages_count; double peer_speed; double last_unchoke; + int current_piece; int am_interested:1; //Indicates if we are interested in something the peer has int interested:1; //Indicates if the peer is interested in one of our pieces int choked_upload:1; //Indicates if the peer is choked for the current peer