X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4a201b7ceece70d2bc461ac48c8b746a36d07243..cc01c6a871dbbfd0cc84e26eb9f94aeb539e613e:/examples/gras/spawn/spawn_father.c?ds=sidebyside diff --git a/examples/gras/spawn/spawn_father.c b/examples/gras/spawn/spawn_father.c index 75f1aac902..12cc6ae76a 100644 --- a/examples/gras/spawn/spawn_father.c +++ b/examples/gras/spawn/spawn_father.c @@ -1,6 +1,7 @@ /* 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. */ @@ -45,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", - 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;