summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-06-12 11:41:22 +0200
committerVolker Lendecke <vl@samba.org>2010-06-12 15:42:51 +0200
commit96854ec994c15bb14fea6e540019001833c8db1a (patch)
tree1f75332c4bc95a05320bde3f249510ee924fee25 /source3/smbd
parentbf2f2f468c9bca7c4fbbfa778a25b366508b5048 (diff)
downloadsamba-96854ec994c15bb14fea6e540019001833c8db1a.tar.gz
samba-96854ec994c15bb14fea6e540019001833c8db1a.tar.bz2
samba-96854ec994c15bb14fea6e540019001833c8db1a.zip
s3: Remove smbd_server_conn from reply_search
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index ffcda36696..c6a4b0227f 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -1367,7 +1367,7 @@ void reply_search(struct smb_request *req)
TALLOC_CTX *ctx = talloc_tos();
bool ask_sharemode = lp_parm_bool(SNUM(conn), "smbd", "search ask sharemode", true);
struct dptr_struct *dirptr = NULL;
- struct smbd_server_connection *sconn = smbd_server_conn;
+ struct smbd_server_connection *sconn = req->sconn;
START_PROFILE(SMBsearch);