X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7a8cd62135619ad52e05ae1c929ef07e166e4260..15badc71ce964f6dae6428c9a4c0198fad5d4936:/examples/msg/bittorrent/connection.h?ds=sidebyside diff --git a/examples/msg/bittorrent/connection.h b/examples/msg/bittorrent/connection.h index 807c709672..95cfbbf439 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