diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-05-24 21:11:34 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-05-24 21:11:34 +0000 |
commit | d29f8af77babe826158191a1caaea3846626236a (patch) | |
tree | 15f37e48b287be1a66473bd14f13c701ed70c7bb /source3/utils/masktest.c | |
parent | 0fca9817b16bdd2fe6f25fb2dd1836dac108a141 (diff) | |
download | samba-d29f8af77babe826158191a1caaea3846626236a.tar.gz samba-d29f8af77babe826158191a1caaea3846626236a.tar.bz2 samba-d29f8af77babe826158191a1caaea3846626236a.zip |
minor fixes
(This used to be commit 4d00314ec5b056101b05c38cc68dd4934c83c825)
Diffstat (limited to 'source3/utils/masktest.c')
-rw-r--r-- | source3/utils/masktest.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/utils/masktest.c b/source3/utils/masktest.c index dc394dddb5..434494a92a 100644 --- a/source3/utils/masktest.c +++ b/source3/utils/masktest.c @@ -204,9 +204,10 @@ static void testpair(struct cli_state *cli, char *mask, char *file) if (old_list) { cli_list_old(cli, mask, aHIDDEN | aDIR, listfn); } else { - cli_list(cli, mask, aHIDDEN | aDIR, listfn); - finfo = NULL; get_short_name(cli, file, short_name); + finfo = NULL; + fstrcpy(res1, "---"); + cli_list(cli, mask, aHIDDEN | aDIR, listfn); } res2 = reg_test(mask, file, short_name); @@ -218,7 +219,7 @@ static void testpair(struct cli_state *cli, char *mask, char *file) cli_unlink(cli, file); - if (count % 500 == 0) DEBUG(0,("%d\n", count)); + if (count % 100 == 0) DEBUG(0,("%d\n", count)); } static void test_mask(int argc, char *argv[], |