Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use MSG_host_by_name() instead of MSG_get_host_by_name()
[simgrid.git] / examples / msg / sendrecv / sendrecv.c
index 1046db4..6e5c1cc 100644 (file)
@@ -48,7 +48,7 @@ int sender(int argc, char *argv[])
 
   XBT_INFO("host = %s", argv[1]);
 
-  host = MSG_get_host_by_name(argv[1]);
+  host = MSG_host_by_name(argv[1]);
 
   if (host == NULL) {
     XBT_INFO("Unknown host %s. Stopping Now! ", argv[1]);