From eb8c383a904e8768c24c111bde3b146aca7d87d8 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Fri, 16 Dec 2005 20:00:40 +0000 Subject: [PATCH] The test for files.bbs for files to import was done in the wrong directory --- ChangeLog | 2 ++ mbfido/mbfimport.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9ea62c27..ad4a3480 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,8 @@ v0.83.4 04-Dec-2005 mbfile: Fixed file importing of non-archived files. + The test for files.bbs for files to import was done in the + wrong directory. mbtask: Experimental code to recover from a half dead chatlink. diff --git a/mbfido/mbfimport.c b/mbfido/mbfimport.c index 8fcf12ba..87d95688 100644 --- a/mbfido/mbfimport.c +++ b/mbfido/mbfimport.c @@ -100,7 +100,7 @@ void ImportFiles(int Area) * Find and open files.bbs */ snprintf(temp, PATH_MAX, "FILES.BBS"); - if (getfilecase(area.Path, temp) == FALSE) { + if (getfilecase(pwd, temp) == FALSE) { WriteError("Can't find files.bbs anywhere"); if (!do_quiet) printf("Can't find files.bbs anywhere\n");