From: couturie Date: Sat, 8 Jan 2011 20:57:26 +0000 (+0100) Subject: Merge branch 'master' of ssh://info.iut-bm.univ-fcomte.fr/loba X-Git-Tag: v0.1~189 X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/commitdiff_plain/e05a6b2176b2111c65ff5464a4b25099f9fdfb12?hp=7392b187b59a5049eca85891ebd8a202d8d4e1ca Merge branch 'master' of ssh://info.iut-bm.univ-fcomte.fr/loba --- diff --git a/deployment.cpp b/deployment.cpp index 29de927..5826014 100644 --- a/deployment.cpp +++ b/deployment.cpp @@ -44,7 +44,6 @@ void deployment_generator::set_link(int host1, int host2) void deployment_generator::deploy() { - const char* func = "loba"; xbt_dynar_t args = xbt_dynar_new(sizeof(const char*), NULL); for (unsigned i = 0 ; i < hosts.size() ; ++i) { const char* hostname = hostdata::at(i).get_name(); @@ -59,7 +58,7 @@ void deployment_generator::deploy() DEBUG2("%s/neighbor -> \"%s\"", hostname, neighbor_name); xbt_dynar_push_as(args, const char*, neighbor_name); } - MSG_set_function(hostname, func, args); + MSG_set_function(hostname, "loba", args); xbt_dynar_reset(args); } xbt_dynar_free(&args);