Create all/newfiles listsings with long and short filenames
This commit is contained in:
parent
901ccc001a
commit
b3ee859815
@ -20,7 +20,8 @@ v0.91.9 16-May-2007
|
||||
Improved cleaning users tmp dir after virus scan.
|
||||
|
||||
mball:
|
||||
Creates allfiles/newfiles listings with long filenames.
|
||||
Creates allfiles/newfiles listings with long filenames and
|
||||
short filenames.
|
||||
|
||||
mbpasswd:
|
||||
Added check for FreeBSD > 6.0 and use sysctl for security check.
|
||||
|
@ -431,8 +431,12 @@ void Masterlist()
|
||||
if (!fdb.Deleted) {
|
||||
New = (((t_start - fdb.UploadDate) / 84400) <= CFG.newdays);
|
||||
|
||||
snprintf(temp, 81, "[%4d] %s %10u K %s", fdb.TimesDL,
|
||||
StrDateDMY(fdb.UploadDate), fdb.Size / 1024, fdb.LName);
|
||||
snprintf(temp, 81, "%s", fdb.LName);
|
||||
WriteFiles(fp, fu, np, nu, New, temp);
|
||||
|
||||
snprintf(temp, 81, "%-12s%10u K %s [%04d] Uploader: %s",
|
||||
fdb.Name, (int)(fdb.Size / 1024), StrDateDMY(fdb.UploadDate), fdb.TimesDL,
|
||||
strlen(fdb.Uploader)?fdb.Uploader:"");
|
||||
WriteFiles(fp, fu, np, nu, New, temp);
|
||||
|
||||
for (z = 0; z < 25; z++) {
|
||||
@ -450,6 +454,7 @@ void Masterlist()
|
||||
snprintf(temp, 81, " Magic filerequest: %s", fdb.Magic);
|
||||
WriteFiles(fp, fu, np, nu, New, temp);
|
||||
}
|
||||
WriteFiles(fp, fu, np, nu, New, (char *)"");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user