Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
update all the platforms file with the new s/:/_/ in DTD
[simgrid.git] / doc / gtut-files / 07-timers.c
index 2258db4..cb5ad51 100644 (file)
@@ -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 <gras.h>
 
 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 */