Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[Messaging]
[simgrid.git] / testsuite / gras / trp_tcp_client.c
index 671e283..bddff1a 100644 (file)
@@ -20,7 +20,7 @@ int main(int argc,char *argv[]) {
   char data_send[256];
   char data_recv[256];
 
-  gras_init_defaultlog(argc,argv,"trp.thresh=debug");
+  gras_init_defaultlog(&argc,argv,"trp.thresh=debug");
 
   fprintf(stderr,"===[CLIENT]=== Contact the server\n");
   TRYFAIL(gras_socket_client(NULL,55555,&sock));
@@ -39,5 +39,7 @@ int main(int argc,char *argv[]) {
   
   fprintf(stderr,"===[CLIENT]=== Exiting successfully\n");
   gras_socket_close(&sock);
+   
+  gras_exit();
   return 0;
 }