summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-08-01 11:48:30 +0200
committerStefan Metzmacher <metze@samba.org>2012-08-01 14:17:16 +0200
commit3fb6549db0b12565413a89ef0662e7e8af3b389a (patch)
treedd7457e603095d5293131a64735cbfb9ba848450 /source3/smbd
parent3682eb80ab071ced87bb64def776a2a8722cb2b1 (diff)
downloadsamba-3fb6549db0b12565413a89ef0662e7e8af3b389a.tar.gz
samba-3fb6549db0b12565413a89ef0662e7e8af3b389a.tar.bz2
samba-3fb6549db0b12565413a89ef0662e7e8af3b389a.zip
s3:smbd: make use of TCONX_FLAG_DISCONNECT_TID define
metze
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 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;