summaryrefslogtreecommitdiff
path: root/source4/torture/basic
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-24 16:37:56 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-24 16:37:56 +0200
commit23302413b3fc9cb3695a255b1ea6883f029b46fe (patch)
tree065ce04233442328b558846d7ae8d54a8d65fffd /source4/torture/basic
parentf7692d16e3dc5e580364852c709c6c4a371dd32e (diff)
downloadsamba-23302413b3fc9cb3695a255b1ea6883f029b46fe.tar.gz
samba-23302413b3fc9cb3695a255b1ea6883f029b46fe.tar.bz2
samba-23302413b3fc9cb3695a255b1ea6883f029b46fe.zip
Remove unused include param/param.h.
Diffstat (limited to 'source4/torture/basic')
-rw-r--r--source4/torture/basic/scanner.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source4/torture/basic/scanner.c b/source4/torture/basic/scanner.c
index 7f88662baa..a6173e4501 100644
--- a/source4/torture/basic/scanner.c
+++ b/source4/torture/basic/scanner.c
@@ -548,6 +548,7 @@ bool torture_nttrans_scan(struct torture_context *torture,
{
int op, level;
const char *fname = "\\scanner.dat";
+ struct smb_iconv_convenience *iconv_convenience = lp_iconv_convenience(torture->lp_ctx);
int fnum, dnum;
fnum = smbcli_open(cli->tree, fname, O_RDWR | O_CREAT | O_TRUNC,
@@ -557,17 +558,17 @@ bool torture_nttrans_scan(struct torture_context *torture,
for (op=OP_MIN; op<=OP_MAX; op++) {
printf("Scanning op=%d\n", op);
for (level = 0; level <= 50; level++) {
- scan_nttrans(lp_iconv_convenience(torture->lp_ctx),
+ scan_nttrans(iconv_convenience,
cli, op, level, fnum, dnum, fname);
}
for (level = 0x100; level <= 0x130; level++) {
- scan_nttrans(lp_iconv_convenience(torture->lp_ctx),
+ scan_nttrans(iconv_convenience,
cli, op, level, fnum, dnum, fname);
}
for (level = 1000; level < 1050; level++) {
- scan_nttrans(lp_iconv_convenience(torture->lp_ctx),
+ scan_nttrans(iconv_convenience,
cli, op, level, fnum, dnum, fname);
}
}