Commit f3ca56d8 authored by Matthieu Dorier's avatar Matthieu Dorier
Browse files

fixed wait_any

parent 0c981f6b
......@@ -1408,8 +1408,9 @@ hg_return_t margo_wait_any(
size_t i;
int ret;
int flag = 0;
int has_pending_requests = 0;
int has_pending_requests;
try_again:
has_pending_requests = 0;
for(i = 0; i < count; i++) {
if(req[i] == MARGO_REQUEST_NULL)
continue;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment