in rpc_reconnect respect original needcb value
This commit is contained in:
parent
a92dd35226
commit
e891fd141d
1 changed files with 1 additions and 1 deletions
|
|
@ -286,7 +286,7 @@ static int rpc_reconnect(
|
||||||
AcquireSRWLockExclusive(&rpc->lock);
|
AcquireSRWLockExclusive(&rpc->lock);
|
||||||
|
|
||||||
status = get_client_for_multi_addr(&rpc->addrs, rpc->wsize, rpc->rsize,
|
status = get_client_for_multi_addr(&rpc->addrs, rpc->wsize, rpc->rsize,
|
||||||
rpc, NULL, &client, &addr_index);
|
rpc->needcb?rpc:NULL, NULL, &client, &addr_index);
|
||||||
if (status)
|
if (status)
|
||||||
goto out_unlock;
|
goto out_unlock;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue