Permalink
Browse files

use correct msg header in reply_to

  • Loading branch information...
1 parent f484f19 commit 73bc4883515b47d9c837516ebca3697eefea4dd5 @Neverlord Neverlord committed May 6, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/response_handle.cpp
View
@@ -58,11 +58,11 @@ void response_handle::apply(any_tuple msg) const {
local_actor* sptr = self.unchecked();
bool use_chaining = sptr && sptr == m_from && sptr->chaining_enabled();
if (use_chaining) {
- if (m_to->chained_enqueue({m_from, m_id}, move(msg))) {
+ if (m_to->chained_enqueue({m_from, m_to, m_id}, move(msg))) {
sptr->chained_actor(m_to);
}
}
- else m_to->enqueue({m_from, m_id}, move(msg));
+ else m_to->enqueue({m_from, m_to, m_id}, move(msg));
}
}

0 comments on commit 73bc488

Please sign in to comment.