From 6ab3f8cedbd79776169b1f84d8775b9887d9c82d Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 7 Sep 2011 18:44:21 +0200 Subject: s3:smb2cli: pass struct smbXcli_conn directly to smb2cli_req_create/_send() metze --- source3/libsmb/smb2cli_query_directory.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/libsmb/smb2cli_query_directory.c') diff --git a/source3/libsmb/smb2cli_query_directory.c b/source3/libsmb/smb2cli_query_directory.c index bff5463829..f0c857e41b 100644 --- a/source3/libsmb/smb2cli_query_directory.c +++ b/source3/libsmb/smb2cli_query_directory.c @@ -20,7 +20,7 @@ #include "includes.h" #include "client.h" #include "async_smb.h" -#include "smb2cli_base.h" +#include "../libcli/smb/smbXcli_base.h" #include "smb2cli.h" #include "libsmb/proto.h" #include "lib/util/tevent_ntstatus.h" @@ -86,7 +86,7 @@ struct tevent_req *smb2cli_query_directory_send(TALLOC_CTX *mem_ctx, dyn_len = sizeof(state->dyn_pad); } - subreq = smb2cli_req_send(state, ev, cli, SMB2_OP_FIND, + subreq = smb2cli_req_send(state, ev, cli->conn, SMB2_OP_FIND, 0, 0, /* flags */ cli->timeout, cli->smb2.pid, -- cgit