Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove usage of xbt_dict_size().
[simgrid.git] / examples / gras / replay / replay.c
index dbe3c90..0b3f2b3 100644 (file)
@@ -67,8 +67,8 @@ int master(int argc, char *argv[])
 
   /* friends, we're ready. Come and play */
   XBT_INFO("Wait for peers for a while. I need %d peers",
-        xbt_dict_size(pals_int));
-  while (xbt_dynar_length(peers) < xbt_dict_size(pals_int)) {
+        xbt_dict_length(pals_int));
+  while (xbt_dynar_length(peers) < xbt_dict_length(pals_int)) {
     TRY {
       gras_msg_handle(20);
     }