From 3fb6549db0b12565413a89ef0662e7e8af3b389a Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 1 Aug 2012 11:48:30 +0200 Subject: s3:smbd: make use of TCONX_FLAG_DISCONNECT_TID define metze --- source3/smbd/reply.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index c043bb6e06..dfb279db61 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -736,7 +736,7 @@ void reply_tcon_and_X(struct smb_request *req) tcon_flags = SVAL(req->vwv+2, 0); /* we might have to close an old one */ - if ((tcon_flags & 0x1) && conn) { + if ((tcon_flags & TCONX_FLAG_DISCONNECT_TID) && conn) { struct smbXsrv_tcon *tcon; NTSTATUS status; -- cgit