- DEBUG2("%sblocking receive (%g)", "\0non-" + !timeout, timeout);
- while (may_receive() && comm.recv(msg, from, timeout)) {
+ XBT_DEBUG("%sblocking receive (%g)", "\0non-" + !timeout, timeout);
+ while (may_receive() && (comm.ctrl_recv(msg, from, timeout) ||
+ comm.data_recv(msg, from, timeout))) {