From 992442cbf9d53df81a8770995043bd9b75d16828 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 21 Sep 2004 01:43:53 +0000 Subject: r2456: got rid of some outdated global macros (This used to be commit ea7eac5e3fb8f0db8d412a95ef4dc7889a07bc73) --- source4/client/client.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'source4/client/client.c') diff --git a/source4/client/client.c b/source4/client/client.c index 33d3e695f2..45aac0444b 100644 --- a/source4/client/client.c +++ b/source4/client/client.c @@ -259,6 +259,13 @@ static int cmd_pwd(const char **cmd_ptr) return 0; } +/* + convert a string to dos format +*/ +static void dos_format(char *s) +{ + string_replace(s, '/', '\\'); +} /**************************************************************************** change directory - inner section @@ -858,7 +865,7 @@ static void do_mget(file_info *finfo) pstrcat(cur_dir,finfo->name); pstrcat(cur_dir,"\\"); - unix_format(finfo->name); + string_replace(finfo->name, '\\', '/'); if (lowercase) strlower(finfo->name); -- cgit