From f5eb8eb97fb494501359e0c5ee368f2bb64ad717 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 23 Mar 2010 16:04:30 +0100 Subject: s4-smbtorture: remove trailing whitespace in libnet torture tests. Guenther --- source4/torture/libnet/domain.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'source4/torture/libnet/domain.c') diff --git a/source4/torture/libnet/domain.c b/source4/torture/libnet/domain.c index 02cdc8a0db..7e8a2d0b3a 100644 --- a/source4/torture/libnet/domain.c +++ b/source4/torture/libnet/domain.c @@ -1,19 +1,19 @@ -/* +/* Unix SMB/CIFS implementation. Test suite for libnet calls. Copyright (C) Rafal Szczesniak 2005 - + 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 . */ @@ -30,9 +30,9 @@ static bool test_domainopen(struct libnet_context *net_ctx, TALLOC_CTX *mem_ctx, { NTSTATUS status; struct libnet_DomainOpen io; - + printf("opening domain\n"); - + io.in.domain_name = talloc_strdup(mem_ctx, domname->string); io.in.access_mask = SEC_FLAG_MAXIMUM_ALLOWED; @@ -56,15 +56,15 @@ static bool test_cleanup(struct dcerpc_binding_handle *b, TALLOC_CTX *mem_ctx, r.in.handle = domain_handle; r.out.handle = &handle; - + printf("closing domain handle\n"); - + status = dcerpc_samr_Close_r(b, mem_ctx, &r); if (!NT_STATUS_IS_OK(status)) { printf("Close failed - %s\n", nt_errstr(status)); return false; } - + return true; } @@ -82,10 +82,10 @@ bool torture_domainopen(struct torture_context *torture) net_ctx = libnet_context_init(torture->ev, torture->lp_ctx); - status = torture_rpc_connection(torture, + status = torture_rpc_connection(torture, &net_ctx->samr.pipe, &ndr_table_samr); - + if (!NT_STATUS_IS_OK(status)) { return false; } -- cgit