From: Christian Heinrich Date: Wed, 14 Oct 2015 10:22:12 +0000 (+0200) Subject: [Lua] Fixed compilation issue X-Git-Tag: v3_13~1644^2~7 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/91b95fd9d2176d541587667a190eca515bfa5801 [Lua] Fixed compilation issue --- diff --git a/src/bindings/lua/lua_platf.c b/src/bindings/lua/lua_platf.c index 98bbb2977e..ef416f96f4 100644 --- a/src/bindings/lua/lua_platf.c +++ b/src/bindings/lua/lua_platf.c @@ -127,7 +127,7 @@ int console_add_backbone(lua_State *L) { } sg_platf_new_link(&link); - routing_cluster_add_backbone(xbt_lib_get_or_null(link_lib, link.id, SURF_LINK_LEVEL)); + routing_cluster_add_backbone(sg_link_by_name(link.id)); return 0; } @@ -182,7 +182,7 @@ int console_add_host(lua_State *L) { // we get values from the table passed as argument if (!lua_istable(L, -1)) { XBT_ERROR - ("Bad Arguments to create host, Should be a table with named arguments"); + ("Bad Arguments to create host. Should be a table with named arguments"); return -1; }