Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright lines for 2022.
[simgrid.git] / examples / c / app-bittorrent / bittorrent-peer.h
index 7d475c4..6020c06 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2012-2021. The SimGrid Team.
+/* Copyright (c) 2012-2022. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -67,7 +67,7 @@ void send_piece(const_peer_t peer, sg_mailbox_t mailbox, int piece, int block_in
 void send_have_to_all_peers(const_peer_t peer, int piece);
 void send_request_to_peer(const_peer_t peer, connection_t remote_peer, int piece);
 
-void get_status(char** status, unsigned int bitfield);
+void get_status(char* status, unsigned int bitfield);
 int has_finished(unsigned int bitfield);
 int is_interested(const_peer_t peer, const_connection_t remote_peer);
 int is_interested_and_free(const_peer_t peer, const_connection_t remote_peer);