-/* 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
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);
}
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);