X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f9dae702752c7b24a5800ad064a4961557d7a5a3..ed9b07e5c0c7eb6d4d38b0fe5aaea80d6996a8a7:/examples/msg/bittorrent/peer.h diff --git a/examples/msg/bittorrent/peer.h b/examples/msg/bittorrent/peer.h index b3d003bbb2..5c6dfa3e1e 100644 --- a/examples/msg/bittorrent/peer.h +++ b/examples/msg/bittorrent/peer.h @@ -1,11 +1,12 @@ -/* Copyright (c) 2012. The SimGrid Team. +/* Copyright (c) 2012-2014. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ + #ifndef BITTORRENT_PEER_H #define BITTORRENT_PEER_H -#include +#include #include #include #include @@ -27,7 +28,7 @@ typedef struct s_peer { xbt_dict_t peers; //peers list xbt_dict_t active_peers; //active peers list - int round; //current round for the chocking algortihm. + int round; //current round for the chocking algorithm. char mailbox[MAILBOX_SIZE]; //peer mailbox.