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
Indent the rest of the code (examples, buildtools, doc...) except for examples/SMPI...
[simgrid.git]
/
examples
/
gras
/
spawn
/
spawn_father.c
diff --git
a/examples/gras/spawn/spawn_father.c
b/examples/gras/spawn/spawn_father.c
index
3110064
..
12cc6ae
100644
(file)
--- a/
examples/gras/spawn/spawn_father.c
+++ b/
examples/gras/spawn/spawn_father.c
@@
-1,8
+1,7
@@
-/* $Id$ */
-
/* spawn - demo of the gras_agent_spawn function */
/* spawn - demo of the gras_agent_spawn function */
-/* Copyright (c) 2007 Martin Quinson. All rights reserved. */
+/* Copyright (c) 2007, 2009, 2010. The SimGrid Team.
+ * All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
@@
-47,7
+46,8
@@
static int father_cb_ping_handler(gras_msg_cb_ctx_t ctx, void *payload)
RETHROW0("Unable to answer to my poor child: %s");
}
INFO2("Answered to %s:%d's request",
RETHROW0("Unable to answer to my poor child: %s");
}
INFO2("Answered to %s:%d's request",
- gras_socket_peer_name(expeditor), gras_socket_peer_port(expeditor));
+ gras_socket_peer_name(expeditor),
+ gras_socket_peer_port(expeditor));
/* 7. Tell GRAS that we consummed this message */
return 0;
/* 7. Tell GRAS that we consummed this message */
return 0;