Skip to content

Commit

Permalink
daemon: Fix ReactOS/clang build failure in get_client_for_netaddr()
Browse files Browse the repository at this point in the history
Fix ReactOS/clang build failure in get_client_for_netaddr()

Signed-off-by: Cedric Blancher <[email protected]>
Signed-off-by: Tigran Mkrtchyan <[email protected]>
  • Loading branch information
dfshelton authored and kofemann committed Oct 16, 2024
1 parent abd1b46 commit ac4f704
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions daemon/nfs41_rpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ static int get_client_for_netaddr(
}
DPRINTF(1, ("callback function 0x%p args 0x%p\n", nfs41_handle_callback, rpc));
client = clnt_tli_create(RPC_ANYFD, nconf, addr, NFS41_RPC_PROGRAM,
NFS41_RPC_VERSION, wsize, rsize, rpc ? proc_cb_compound_res : NULL,
NFS41_RPC_VERSION, wsize, rsize, rpc ? (int (*)(void*, void*))proc_cb_compound_res : NULL,
rpc ? nfs41_handle_callback : NULL, rpc ? rpc : NULL);
if (client) {
*client_out = client;
if (client) {
*client_out = client;
status = NO_ERROR;
}

Expand Down

0 comments on commit ac4f704

Please sign in to comment.