summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-11-14 03:34:44 +0000
committerJeremy Allison <jra@samba.org>1998-11-14 03:34:44 +0000
commit2a28d20f204caf8639f64dd6adc1646d084db2d1 (patch)
treef2a515e22df8c71d08bbe1c2e3c115f3b10f19f9 /source3/client
parent54a4ac4c6229f808be8d7009dfd1a4f0aa77fafc (diff)
downloadsamba-2a28d20f204caf8639f64dd6adc1646d084db2d1.tar.gz
samba-2a28d20f204caf8639f64dd6adc1646d084db2d1.tar.bz2
samba-2a28d20f204caf8639f64dd6adc1646d084db2d1.zip
Fixed problem with smbclient issuing '*.*' to NT server when an
NT server needs '*'. Win95/98 doesn't care either way :-). Jeremy. (This used to be commit a0adae90cadd7702f8263c97d4495fa093e713e6)
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/client.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index fe6a5f3003..4abb812e89 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -374,7 +374,7 @@ static void do_list_helper(file_info *f, const char *mask)
if (do_list_fn == display_finfo) {
DEBUG(0,("\n%s\n",CNV_LANG(mask2)));
}
- pstrcat(mask2,"\\*.*");
+ pstrcat(mask2,"\\*");
do_list(mask2, do_list_attr, do_list_fn, True, True);
}
return;
@@ -422,7 +422,7 @@ static void cmd_dir(void)
pstrcat(mask,p);
}
else {
- pstrcat(mask,"*.*");
+ pstrcat(mask,"*");
}
do_list(mask, attribute, display_finfo, recurse, True);
@@ -455,7 +455,7 @@ static void cmd_du(void)
else
pstrcat(mask,p);
} else {
- pstrcat(mask,"*.*");
+ pstrcat(mask,"*");
}
do_list(mask, attribute, do_du, recurse, True);
@@ -644,7 +644,7 @@ static void do_mget(file_info *finfo)
}
pstrcpy(mget_mask,cur_dir);
- pstrcat(mget_mask,"*.*");
+ pstrcat(mget_mask,"*");
do_list(mget_mask, aSYSTEM | aHIDDEN | aDIR,do_mget,False, True);
chdir("..");
@@ -718,7 +718,7 @@ static void cmd_mget(void)
pstrcpy(mget_mask,cur_dir);
if(mget_mask[strlen(mget_mask)-1]!='\\')
pstrcat(mget_mask,"\\");
- pstrcat(mget_mask,"*.*");
+ pstrcat(mget_mask,"*");
do_list(mget_mask, attribute,do_mget,False,True);
}
}