Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix Host::execute to use *this as a host location, not the this_actor->get_host()
[simgrid.git] / examples / c / app-bittorrent / app-bittorrent.c
index e8edbb8e210446a20f741f413e21f34276fbafac..fafe793971bd1242ea97bd9032696427d7ca1568 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2012-2022. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2012-2023. 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. */
@@ -20,8 +20,8 @@ int main(int argc, char* argv[])
 
   simgrid_load_platform(argv[1]);
 
-  simgrid_register_function("tracker", tracker);
-  simgrid_register_function("peer", peer);
+  simgrid_register_function("tracker", tracker_run);
+  simgrid_register_function("peer", peer_run);
 
   simgrid_load_deployment(argv[2]);