From b920b0b1c45bb78c4166a4409516fea0fa23d05c Mon Sep 17 00:00:00 2001 From: Norbert Warmuth Date: Sat, 3 Oct 1998 12:30:03 +0000 Subject: [PATCH] Sat Oct 3 14:28:57 1998 Norbert Warmuth * vfs/ftpfs.c (resolve_symlink): fixed cut'n paste error in my last commit, i.e. make it compile) --- vfs/ChangeLog | 5 +++++ vfs/ftpfs.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/vfs/ChangeLog b/vfs/ChangeLog index c449dea9d..eea46ed07 100644 --- a/vfs/ChangeLog +++ b/vfs/ChangeLog @@ -1,3 +1,8 @@ +Sat Oct 3 14:28:57 1998 Norbert Warmuth + + * ftpfs.c (resolve_symlink): fixed cut'n paste error in my last + change, i.e. make it compile) + Sat Oct 3 01:03:37 1998 Norbert Warmuth * ftpfs.c (resolve_symlink): minor speed enhancement diff --git a/vfs/ftpfs.c b/vfs/ftpfs.c index b47614ef8..4cec353f1 100644 --- a/vfs/ftpfs.c +++ b/vfs/ftpfs.c @@ -1047,7 +1047,7 @@ resolve_symlink(struct connection *bucket, struct dir *dir) strcat (tmp + 1, fel->linkname); } for ( ;; ) { - canonicalize_pathname (remote_path); + canonicalize_pathname (tmp); fe = _get_file_entry(bucket, tmp, 0, 0); if (fe) { if (S_ISLNK (fe->s.st_mode) && fe->l_stat == 0) {