summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-07-05 05:53:08 +0000
committerAndrew Tridgell <tridge@samba.org>2001-07-05 05:53:08 +0000
commit6668abac5eac314a3c0d1c2627c68692b4b0f3a2 (patch)
treefb47b43f22a50ada119035a8d9c2b43f288f8a34 /source3
parent61e6d867c4afd27e0a2358282532c478707f30db (diff)
downloadsamba-6668abac5eac314a3c0d1c2627c68692b4b0f3a2.tar.gz
samba-6668abac5eac314a3c0d1c2627c68692b4b0f3a2.tar.bz2
samba-6668abac5eac314a3c0d1c2627c68692b4b0f3a2.zip
fixed compilation of masktest on AIX
(This used to be commit 832a91bbe643ba816407965863b8fa3bb5b8730c)
Diffstat (limited to 'source3')
-rw-r--r--source3/torture/masktest.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/source3/torture/masktest.c b/source3/torture/masktest.c
index 0acdb0d95c..88b518b43e 100644
--- a/source3/torture/masktest.c
+++ b/source3/torture/masktest.c
@@ -253,7 +253,7 @@ struct cli_state *connect_one(char *share)
}
static char *resultp;
-static file_info *finfo;
+static file_info *f_info;
void listfn(file_info *f, const char *s, void *state)
{
@@ -264,7 +264,7 @@ void listfn(file_info *f, const char *s, void *state)
} else {
resultp[2] = '+';
}
- finfo = f;
+ f_info = f;
}
static void get_real_name(struct cli_state *cli,
@@ -277,10 +277,10 @@ static void get_real_name(struct cli_state *cli,
} else {
cli_list_new(cli, "\\masktest\\*", aHIDDEN | aDIR, listfn, NULL);
}
- if (finfo) {
- fstrcpy(short_name, finfo->short_name);
+ if (f_info) {
+ fstrcpy(short_name, f_info->short_name);
strlower(short_name);
- pstrcpy(long_name, finfo->name);
+ pstrcpy(long_name, f_info->name);
strlower(long_name);
}
@@ -317,9 +317,9 @@ static void testpair(struct cli_state *cli, char *mask, char *file)
resultp = res1;
fstrcpy(short_name, "");
- finfo = NULL;
+ f_info = NULL;
get_real_name(cli, long_name, short_name);
- finfo = NULL;
+ f_info = NULL;
fstrcpy(res1, "---");
cli_list(cli, mask, aHIDDEN | aDIR, listfn, NULL);