1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-11 16:58:40 +03:00

lib: Fix trailing whitespace

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Volker Lendecke 2024-10-30 10:54:12 +01:00
parent 6edd49c68b
commit a3f1cb1597
2 changed files with 8 additions and 9 deletions

View File

@ -93,7 +93,7 @@ NTSTATUS cldap_error_reply(struct cldap_socket *cldap,
const char *errormessage); const char *errormessage);
/* /*
a netlogon cldap request a netlogon cldap request
*/ */
struct cldap_netlogon { struct cldap_netlogon {
struct { struct {
@ -130,4 +130,3 @@ NTSTATUS cldap_netlogon_reply(struct cldap_socket *cldap,
struct tsocket_address *dst, struct tsocket_address *dst,
uint32_t version, uint32_t version,
struct netlogon_samlogon_response *netlogon); struct netlogon_samlogon_response *netlogon);

View File

@ -1,24 +1,24 @@
/* /*
Unix SMB/CIFS Implementation. Unix SMB/CIFS Implementation.
test CLDAP/LDAP netlogon operations test CLDAP/LDAP netlogon operations
Copyright (C) Andrew Tridgell 2005 Copyright (C) Andrew Tridgell 2005
Copyright (C) Matthias Dieter Wallnöfer 2009 Copyright (C) Matthias Dieter Wallnöfer 2009
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or the Free Software Foundation; either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
This program is distributed in the hope that it will be useful, This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "includes.h" #include "includes.h"
@ -315,7 +315,7 @@ static bool test_ldap_netlogon_flags(struct torture_context *tctx,
if (n1.ntver == NETLOGON_NT_VERSION_5) if (n1.ntver == NETLOGON_NT_VERSION_5)
server_type = n1.data.nt5.server_type; server_type = n1.data.nt5.server_type;
else if (n1.ntver == NETLOGON_NT_VERSION_5EX) 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); printf("The word is: %i\n", server_type);
if (server_type & NBT_SERVER_PDC) if (server_type & NBT_SERVER_PDC)