Permalink
Browse files

still need to drop out during a wait

  • Loading branch information...
1 parent 9b7be61 commit bdec87f527b357a8a1849a56c934071193d1729d @erikfrey erikfrey committed Aug 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/net/handler.cpp
View
2 src/net/handler.cpp
@@ -180,7 +180,7 @@ void handler::get()
if (!pop_stream_.open(queues_[req_.queue]))
{
if (req_.wait_ms) // couldn't read... can we at least wait?
- queues_[req_.queue]->wait(req_.wait_ms, bind(&handler::get_on_queue_return, shared_from_this(), _1));
+ return queues_[req_.queue]->wait(req_.wait_ms, bind(&handler::get_on_queue_return, shared_from_this(), _1));
else
return end();
}

0 comments on commit bdec87f

Please sign in to comment.