s3: smbd: reply_tdis() Update to modern coding standards.
authorJeremy Allison <jra@samba.org>
Thu, 12 Mar 2020 16:59:47 +0000 (09:59 -0700)
committerJeremy Allison <jra@samba.org>
Wed, 18 Mar 2020 18:03:29 +0000 (18:03 +0000)
Minimizes the diff in the next commit.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14301

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/reply.c

index 8aac268010a86e0e06733d808eaf7abf8a21a76c..0a6c4149af0fda1e306e48cf2066bf020c9963e7 100644 (file)
@@ -6047,8 +6047,8 @@ void reply_tdis(struct smb_request *smb1req)
 
        START_PROFILE(SMBtdis);
 
-       if (!conn) {
-               DEBUG(4,("Invalid connection in tdis\n"));
+       if (conn == NULL) {
+               DBG_INFO("Invalid connection in tdis\n");
                reply_force_doserror(smb1req, ERRSRV, ERRinvnid);
                END_PROFILE(SMBtdis);
                return;