s3:smbd: make use of TCONX_FLAG_DISCONNECT_TID define
authorStefan Metzmacher <metze@samba.org>
Wed, 1 Aug 2012 09:48:30 +0000 (11:48 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 1 Aug 2012 12:17:16 +0000 (14:17 +0200)
metze

source3/smbd/reply.c

index c043bb6e0639d2677155caaf41c92352be9e43c9..dfb279db61bf2e403e383d82a6a71fdc3b27b0bc 100644 (file)
@@ -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;