Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Usage of xbt_new0 instead calloc
[simgrid.git] / examples / msg / sendrecv / sendrecv.c
index 5fa6f67..22720ab 100644 (file)
@@ -40,7 +40,7 @@ int sender(int argc,char *argv[] )
 
   INFO0("sender");
  
-  host = calloc(1, sizeof(m_host_t));
+  /*host = xbt_new0(m_host_t,1);*/
     
   INFO1("host = %s", argv[1]);