A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kill the right XML files
[simgrid.git]
/
examples
/
msg
/
io
/
remote.c
diff --git
a/examples/msg/io/remote.c
b/examples/msg/io/remote.c
index
a065254
..
5661b61
100644
(file)
--- a/
examples/msg/io/remote.c
+++ b/
examples/msg/io/remote.c
@@
-12,7
+12,6
@@
#include <stdio.h>
#include <stdlib.h>
#include "simgrid/msg.h"
#include <stdio.h>
#include <stdlib.h>
#include "simgrid/msg.h"
-#include "surf/surf_private.h"
#define INMEGA (1024*1024)
#define INMEGA (1024*1024)
@@
-103,8
+102,5
@@
int main(int argc, char **argv)
xbt_dynar_free_container(&storages);
XBT_INFO("Simulation time %g", MSG_get_clock());
xbt_dynar_free_container(&storages);
XBT_INFO("Simulation time %g", MSG_get_clock());
- if (res == MSG_OK)
- return 0;
- else
- return 1;
+ return res != MSG_OK;
}
}