From a3f1cb15971642d2f4d698b0927862e628bba81c Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 30 Oct 2024 10:54:12 +0100 Subject: [PATCH] lib: Fix trailing whitespace Signed-off-by: Volker Lendecke Reviewed-by: Stefan Metzmacher --- libcli/cldap/cldap.h | 3 +-- source4/torture/ldap/netlogon.c | 14 +++++++------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/libcli/cldap/cldap.h b/libcli/cldap/cldap.h index a919b016e7c..8c90de5a821 100644 --- a/libcli/cldap/cldap.h +++ b/libcli/cldap/cldap.h @@ -93,7 +93,7 @@ NTSTATUS cldap_error_reply(struct cldap_socket *cldap, const char *errormessage); /* - a netlogon cldap request + a netlogon cldap request */ struct cldap_netlogon { struct { @@ -130,4 +130,3 @@ NTSTATUS cldap_netlogon_reply(struct cldap_socket *cldap, struct tsocket_address *dst, uint32_t version, struct netlogon_samlogon_response *netlogon); - diff --git a/source4/torture/ldap/netlogon.c b/source4/torture/ldap/netlogon.c index 564e1871271..f27d5002860 100644 --- a/source4/torture/ldap/netlogon.c +++ b/source4/torture/ldap/netlogon.c @@ -1,24 +1,24 @@ -/* +/* Unix SMB/CIFS Implementation. test CLDAP/LDAP netlogon operations - + Copyright (C) Andrew Tridgell 2005 Copyright (C) Matthias Dieter Wallnöfer 2009 - + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. - + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - + You should have received a copy of the GNU General Public License along with this program. If not, see . - + */ #include "includes.h" @@ -315,7 +315,7 @@ static bool test_ldap_netlogon_flags(struct torture_context *tctx, if (n1.ntver == NETLOGON_NT_VERSION_5) server_type = n1.data.nt5.server_type; else if (n1.ntver == NETLOGON_NT_VERSION_5EX) - server_type = n1.data.nt5_ex.server_type; + server_type = n1.data.nt5_ex.server_type; printf("The word is: %i\n", server_type); if (server_type & NBT_SERVER_PDC)