Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
sockets is now part of the process data
[simgrid.git] / src / gras / Transport / transport_plugin_file.c
index de90623..ae1866e 100644 (file)
@@ -108,7 +108,7 @@ gras_socket_client_from_file(const char*path,
         (*dst)->outgoing?'y':'n',
         (*dst)->accepting?'y':'n');
   /* register socket */
         (*dst)->outgoing?'y':'n',
         (*dst)->accepting?'y':'n');
   /* register socket */
-  errcode = gras_dynar_push(_gras_trp_sockets,dst);
+  errcode = gras_dynar_push(gras_socketset_get(),dst);
   if (errcode != no_error) {
     free(*dst);
     *dst = NULL;
   if (errcode != no_error) {
     free(*dst);
     *dst = NULL;
@@ -159,7 +159,7 @@ gras_socket_server_from_file(const char*path,
         (*dst)->accepting?'y':'n');
 
   /* register socket */
         (*dst)->accepting?'y':'n');
 
   /* register socket */
-  errcode = gras_dynar_push(_gras_trp_sockets,dst);
+  errcode = gras_dynar_push(gras_socketset_get(),dst);
   if (errcode != no_error) {
     free(*dst);
     *dst = NULL;
   if (errcode != no_error) {
     free(*dst);
     *dst = NULL;