diff options
-rw-r--r-- | source3/client/client.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index 567d3d68ff..e34131d6d0 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -423,6 +423,8 @@ static void do_cd(char *newdir) pstring saved_dir; pstring dname; + dos_format(newdir); + /* Save the current directory in case the new directory is invalid */ pstrcpy(saved_dir, cur_dir); |