X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/274b996ead50456d7519b1cbd5d4f86e0a9154ec..fec5fff327fcad427d0a399ebc3dbbb35de2852e:/src/bindings/lua/lua_comm.c diff --git a/src/bindings/lua/lua_comm.c b/src/bindings/lua/lua_comm.c index 61071b839f..138c3099eb 100644 --- a/src/bindings/lua/lua_comm.c +++ b/src/bindings/lua/lua_comm.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2010. The SimGrid Team. +/* Copyright (c) 2010, 2012-2014. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -62,7 +62,7 @@ static int l_comm_wait(lua_State* L) { timeout = luaL_checknumber(L, 2); } /* comm ... */ - MSG_error_t res = MSG_comm_wait(comm, timeout); + msg_error_t res = MSG_comm_wait(comm, timeout); if (res == MSG_OK) { msg_task_t task = MSG_comm_get_task(comm); @@ -111,7 +111,7 @@ static int l_comm_test(lua_State* L) { } else { /* finished but may have failed */ - MSG_error_t res = MSG_comm_get_status(comm); + msg_error_t res = MSG_comm_get_status(comm); if (res == MSG_OK) { msg_task_t task = MSG_comm_get_task(comm);