From b340953881b8325a98afd3dc96ccf57c26a32f8c Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 12 Jun 2010 12:06:14 +0200 Subject: s3: Remove smbd_server_conn from call_trans2findnext --- source3/smbd/trans2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd') 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); -- cgit