Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Revert "try to port the gras simulation side to the new smx_network infrastructure...
[simgrid.git] / src / gras / Transport / rl_transport.c
index a8c2a70..395137f 100644 (file)
@@ -175,7 +175,7 @@ gras_socket_t gras_trp_select(double timeout)
       /* Got a socket to serve */
       ready--;
 
-      if (sock_iter->is_master && sock_iter->plugin->socket_accept) {
+      if (sock_iter->accepting && sock_iter->plugin->socket_accept) {
         /* not a socket but an ear. accept on it and serve next socket */
         gras_socket_t accepted = NULL;