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 886cbe6..b4d23e1 100644 (file)
@@ -158,8 +158,8 @@ 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));
+        DEBUG2("accepted=%p,&accepted=%p",accepted,&accepted);
         accepted->meas = sock_iter->meas;
        } else {
 #if 0 
@@ -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;
 }