Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
gras_socket_close now expect the socket to close (and not its address to
[simgrid.git] / testsuite / gras / trp_tcp_client.c
index bddff1a..580eb2d 100644 (file)
@@ -38,7 +38,7 @@ int main(int argc,char *argv[]) {
   fprintf(stderr,"===[CLIENT]=== Got a valid ACK\n");
   
   fprintf(stderr,"===[CLIENT]=== Exiting successfully\n");
-  gras_socket_close(&sock);
+  gras_socket_close(sock);
    
   gras_exit();
   return 0;