Commit 0aa00de4 authored by Philip Carns's avatar Philip Carns

safety check

parent cd6d93c6
......@@ -821,6 +821,8 @@ int margo_lookup_mplex(margo_instance_id mid, hg_id_t id, uint32_t mplex_id, ABT
if(!element)
return(-1);
assert(element->key.id == id && element->key.mplex_id == mplex_id);
*pool = element->pool;
return(0);
......
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