Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
detached really is a boolean.
[simgrid.git] / src / smpi / internals / smpi_global.cpp
index 26aafa4..408be49 100644 (file)
@@ -216,7 +216,7 @@ void smpi_comm_copy_buffer_callback(simgrid::kernel::activity::CommImpl* comm, v
   XBT_DEBUG("Copying %zu bytes from %p to %p", buff_size, tmpbuff, comm->dst_buff_);
   memcpy_private(comm->dst_buff_, tmpbuff, private_blocks);
 
-  if (comm->detached) {
+  if (comm->detached_) {
     // if this is a detached send, the source buffer was duplicated by SMPI
     // sender to make the original buffer available to the application ASAP
     xbt_free(buff);