diff options
author | Günther Deschner <gd@samba.org> | 2010-03-23 16:04:30 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-03-23 16:13:54 +0100 |
commit | f5eb8eb97fb494501359e0c5ee368f2bb64ad717 (patch) | |
tree | a4015810c334f6ef64b995093bcd5fd7a3538724 /source4/torture/libnet/libnet_share.c | |
parent | fad0629e78c8672ea9b4eeb709b1d21c43abac06 (diff) | |
download | samba-f5eb8eb97fb494501359e0c5ee368f2bb64ad717.tar.gz samba-f5eb8eb97fb494501359e0c5ee368f2bb64ad717.tar.bz2 samba-f5eb8eb97fb494501359e0c5ee368f2bb64ad717.zip |
s4-smbtorture: remove trailing whitespace in libnet torture tests.
Guenther
Diffstat (limited to 'source4/torture/libnet/libnet_share.c')
-rw-r--r-- | source4/torture/libnet/libnet_share.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source4/torture/libnet/libnet_share.c b/source4/torture/libnet/libnet_share.c index 960b351c96..1d64f558ad 100644 --- a/source4/torture/libnet/libnet_share.c +++ b/source4/torture/libnet/libnet_share.c @@ -1,20 +1,20 @@ -/* +/* Unix SMB/CIFS implementation. Test suite for libnet calls. Copyright (C) Gregory LEOCADIE <gleocadie@idealx.com> 2005 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 <http://www.gnu.org/licenses/>. */ @@ -139,9 +139,9 @@ bool torture_listshares(struct torture_context *torture) } libnetctx->cred = cmdline_credentials; - + printf("Testing libnet_ListShare\n"); - + share.in.server_name = talloc_asprintf(mem_ctx, "%s", binding->host); for (i = 0; i < ARRAY_SIZE(levels); i++) { @@ -172,7 +172,7 @@ static bool test_addshare(struct dcerpc_binding_handle *b, TALLOC_CTX *mem_ctx, struct srvsvc_NetShareAdd add; union srvsvc_NetShareInfo info; struct srvsvc_NetShareInfo2 i; - + i.name = share; i.type = STYPE_DISKTREE; i.path = "C:\\WINDOWS\\TEMP"; @@ -208,7 +208,7 @@ bool torture_delshare(struct torture_context *torture) NTSTATUS status; bool ret = true; struct libnet_DelShare share; - + host = torture_setting_string(torture, "host", NULL); status = torture_rpc_binding(torture, &binding); torture_assert_ntstatus_ok(torture, status, "Failed to get binding"); |