Small logging fix for mbfile add files to bbs

This commit is contained in:
Michiel Broek 2002-05-24 18:06:14 +00:00
parent 99194c2925
commit 0e3b643945

View File

@ -311,9 +311,9 @@ int AddFile(struct FILERecord fdb, int Area, char *DestPath, char *FromPath)
FILE *fp1, *fp2; FILE *fp1, *fp2;
int i, rc, Insert, Done = FALSE, Found = FALSE; int i, rc, Insert, Done = FALSE, Found = FALSE;
mkdirs(DestPath, 0755); mkdirs(DestPath, 0775);
if ((rc = file_cp(FromPath, DestPath))) { if ((rc = file_cp(FromPath, DestPath))) {
WriteError("Can't move file in place"); WriteError("Can't copy file in place");
if (!do_quiet) if (!do_quiet)
printf("Can't copy file to %s, %s\n", DestPath, strerror(rc)); printf("Can't copy file to %s, %s\n", DestPath, strerror(rc));
return FALSE; return FALSE;