summaryrefslogtreecommitdiffstats
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-06-12 12:06:14 +0200
committerVolker Lendecke <vl@samba.org>2010-06-12 15:42:53 +0200
commitb340953881b8325a98afd3dc96ccf57c26a32f8c (patch)
tree815d01d05d3da0ecb9622de761e3770acc8c8899 /source3/smbd
parent6608400e2d21f47a33872f9e365308b88309ac4f (diff)
downloadsamba-b340953881b8325a98afd3dc96ccf57c26a32f8c.tar.gz
samba-b340953881b8325a98afd3dc96ccf57c26a32f8c.tar.xz
samba-b340953881b8325a98afd3dc96ccf57c26a32f8c.zip
s3: Remove smbd_server_conn from call_trans2findnext
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/trans2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 162291c9a1e..adc34bc4aba 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -2596,7 +2596,7 @@ static void call_trans2findnext(connection_struct *conn,
bool ask_sharemode = lp_parm_bool(SNUM(conn), "smbd", "search ask sharemode", true);
TALLOC_CTX *ctx = talloc_tos();
struct dptr_struct *dirptr;
- struct smbd_server_connection *sconn = smbd_server_conn;
+ struct smbd_server_connection *sconn = req->sconn;
if (total_params < 13) {
reply_nterror(req, NT_STATUS_INVALID_PARAMETER);