X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b66dd193ce8a5d33bf68bfc86b2a961d917f5103..c85e43e7cc3034aefc758257a387d32026c05ef4:/src/bindings/lua/lua_host.c diff --git a/src/bindings/lua/lua_host.c b/src/bindings/lua/lua_host.c index 04c6eb6e87..4d65ac6f16 100644 --- a/src/bindings/lua/lua_host.c +++ b/src/bindings/lua/lua_host.c @@ -50,7 +50,7 @@ static int l_host_get_by_name(lua_State * L) { const char *name = luaL_checkstring(L, 1); XBT_DEBUG("Getting Host from name..."); - msg_host_t msg_host = MSG_get_host_by_name(name); + msg_host_t msg_host = MSG_host_by_name(name); if (!msg_host) { luaL_error(L, "null Host : MSG_get_host_by_name failed"); }