From b320778b92824932ac67e9422624cec41bfc2b95 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sun, 18 Mar 2007 10:42:16 +0000 Subject: [PATCH] hmm, how did that happen? ah well --- libs/util/quakefs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/util/quakefs.c b/libs/util/quakefs.c index b3c146834..86921fb52 100644 --- a/libs/util/quakefs.c +++ b/libs/util/quakefs.c @@ -1407,8 +1407,8 @@ QFS_Rename (const char *old_path, const char *new_path) dstring_t *full_new = dstring_new (); int ret; - dsprintf (full_old, "%s/%s", qfs_userpath, old); - dsprintf (full_new, "%s/%s", qfs_userpath, new); + dsprintf (full_old, "%s/%s", qfs_userpath, old_path); + dsprintf (full_new, "%s/%s", qfs_userpath, new_path); if ((ret = QFS_CreatePath (full_new->str)) != -1) ret = Qrename (full_old->str, full_new->str); dstring_delete (full_old);