Commit 9d0a2b8f authored by Matthieu Dorier's avatar Matthieu Dorier
Browse files

re-correcting bug

parent 8530ed09
...@@ -278,7 +278,7 @@ int bake_provider_handle_get_info(bake_provider_handle_t handle, ...@@ -278,7 +278,7 @@ int bake_provider_handle_get_info(bake_provider_handle_t handle,
hg_return_t hret = HG_SUCCESS; hg_return_t hret = HG_SUCCESS;
if(handle == BAKE_PROVIDER_HANDLE_NULL) return BAKE_ERR_INVALID_ARG; if(handle == BAKE_PROVIDER_HANDLE_NULL) return BAKE_ERR_INVALID_ARG;
if(client) *client = handle->client; if(client) *client = handle->client;
if(addr) hret = margo_addr_dup(handle->mid, handle->addr, addr); if(addr) hret = margo_addr_dup(handle->client->mid, handle->addr, addr);
if(provider_id) *provider_id = handle->provider_id; if(provider_id) *provider_id = handle->provider_id;
if(hret != HG_SUCCESS) if(hret != HG_SUCCESS)
ret = BAKE_ERR_MERCURY; ret = BAKE_ERR_MERCURY;
......
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