From: Jeremy Allison Date: Thu, 12 Mar 2020 16:59:47 +0000 (-0700) Subject: s3: smbd: reply_tdis() Update to modern coding standards. X-Git-Tag: ldb-2.2.0~1433 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71725f1c4adaa04ef04c0dd400c49399952ef5fa;p=thirdparty%2Fsamba.git s3: smbd: reply_tdis() Update to modern coding standards. Minimizes the diff in the next commit. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14301 Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 8aac268010a..0a6c4149af0 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -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;