Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
initialize in trp_socket_new a socket field which should be initialized anyhow, but...
[simgrid.git] / src / gras / Transport / transport.c
index 19ac9c5..bfa5a93 100644 (file)
@@ -113,6 +113,7 @@ gras_error_t gras_trp_socket_new(int incoming,
 
   sock->plugin = NULL;
   sock->sd     = -1;
+  sock->data   = NULL;
 
   sock->incoming  = incoming ? 1:0;
   sock->outgoing  = incoming ? 0:1;