s3: smbd: reply_ulogoffX() Update to modern coding standards.
authorJeremy Allison <jra@samba.org>
Thu, 12 Mar 2020 17:16:42 +0000 (10:16 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 7 Apr 2020 08:12:35 +0000 (08:12 +0000)
Minimizes the diff in the later commits.

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>
(cherry picked from commit 9cda76ad29db0cfbffa3dbb0764ec5dda24490f9)

source3/smbd/reply.c

index f76e9ee0bc85cd2c6d20ef88f8184a9b7ddd4037..aa820916443bc5361a66a2a2dea099968e3747e1 100644 (file)
@@ -2625,8 +2625,8 @@ void reply_ulogoffX(struct smb_request *smb1req)
                                        timeval_to_nttime(&now),
                                        &session);
        if (!NT_STATUS_IS_OK(status)) {
-               DEBUG(3,("ulogoff, vuser id %llu does not map to user.\n",
-                        (unsigned long long)smb1req->vuid));
+               DBG_WARNING("ulogoff, vuser id %llu does not map to user.\n",
+                        (unsigned long long)smb1req->vuid);
 
                smb1req->vuid = UID_FIELD_INVALID;
                reply_force_doserror(smb1req, ERRSRV, ERRbaduid);