A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gras_trp_socket_new is in charge of pushing it into the set of known sockets
[simgrid.git]
/
src
/
gras
/
Transport
/
transport_plugin_file.c
diff --git
a/src/gras/Transport/transport_plugin_file.c
b/src/gras/Transport/transport_plugin_file.c
index
de90623
..
6a52c08
100644
(file)
--- a/
src/gras/Transport/transport_plugin_file.c
+++ b/
src/gras/Transport/transport_plugin_file.c
@@
-107,14
+107,7
@@
gras_socket_client_from_file(const char*path,
(*dst)->incoming?'y':'n',
(*dst)->outgoing?'y':'n',
(*dst)->accepting?'y':'n');
(*dst)->incoming?'y':'n',
(*dst)->outgoing?'y':'n',
(*dst)->accepting?'y':'n');
- /* register socket */
- errcode = gras_dynar_push(_gras_trp_sockets,dst);
- if (errcode != no_error) {
- free(*dst);
- *dst = NULL;
- return errcode;
- }
-
+
return no_error;
}
return no_error;
}
@@
-158,14
+151,6
@@
gras_socket_server_from_file(const char*path,
(*dst)->outgoing?'y':'n',
(*dst)->accepting?'y':'n');
(*dst)->outgoing?'y':'n',
(*dst)->accepting?'y':'n');
- /* register socket */
- errcode = gras_dynar_push(_gras_trp_sockets,dst);
- if (errcode != no_error) {
- free(*dst);
- *dst = NULL;
- return errcode;
- }
-
return no_error;
}
return no_error;
}