Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
typo found by Medhi while doing the tutorial
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 11 Nov 2009 16:09:33 +0000 (16:09 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 11 Nov 2009 16:09:33 +0000 (16:09 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6838 48e7efb5-ca39-0410-a469-dd3cf9ba447f

doc/gtut-files/07-timers.c

index 2258db4..ffc339c 100644 (file)
@@ -91,7 +91,7 @@ int client(int argc, char *argv[]) {
   
   VERB1("Client ready; listening on %d", gras_socket_my_port(mysock));
   
   
   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 */
   globals->done = 0;
   
   gras_os_sleep(1.5); /* sleep 1 second and half */