X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/78c37d1780d1243aec405e7f38751e0aa5037c38..6760cb07d6b57be16928d95339d71e57c4e24f36:/doc/gtut-files/07-timers.c diff --git a/doc/gtut-files/07-timers.c b/doc/gtut-files/07-timers.c index 2258db4c8a..cb5ad513df 100644 --- a/doc/gtut-files/07-timers.c +++ b/doc/gtut-files/07-timers.c @@ -1,3 +1,9 @@ +/* Copyright (c) 2006, 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. */ + #include XBT_LOG_NEW_DEFAULT_CATEGORY(test,"My little example"); @@ -91,7 +97,7 @@ int client(int argc, char *argv[]) { VERB1("Client ready; listening on %d", gras_socket_my_port(mysock)); - globals=gras_userdata_new(server_data_t*); + globals=gras_userdata_new(client_data_t*); globals->done = 0; gras_os_sleep(1.5); /* sleep 1 second and half */