Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Improve documentation and put the examples in another file, so that we can include...
[simgrid.git] / src / gras / Transport / rl_transport.c
index 1003eea..b4d23e1 100644 (file)
@@ -158,9 +158,9 @@ gras_trp_select(double timeout,
         /* not a socket but an ear. accept on it and serve next socket */
         gras_socket_t accepted=NULL;
         
-        DEBUG2("accepted=%p,&accepted=%p",accepted,&accepted);
         TRY((sock_iter->plugin->socket_accept)(sock_iter,&accepted));
-        accepted->raw = sock_iter->raw;
+        DEBUG2("accepted=%p,&accepted=%p",accepted,&accepted);
+        accepted->meas = sock_iter->meas;
        } else {
 #if 0 
        FIXME: this fails of files. quite logical
@@ -202,7 +202,7 @@ gras_trp_select(double timeout,
   return timeout_error;
 }
 
-xbt_error_t gras_trp_sg_setup(gras_trp_plugin_t *plug) {
+xbt_error_t gras_trp_sg_setup(gras_trp_plugin_t plug) {
   return mismatch_error;
 }