File download checks from http and ftp are now case insensitive
This commit is contained in:
parent
904619bbd5
commit
80f4c6db54
@ -20,6 +20,10 @@ v0.91.13 12-Oct-2007
|
||||
Fixed filefind search filenames case insensitive.
|
||||
Fixed filefind search in description.
|
||||
|
||||
mball:
|
||||
File download checks from http and ftp are now case
|
||||
insensitive.
|
||||
|
||||
mbsetup:
|
||||
Blocked selection of FTN and Usenet moderated message areas.
|
||||
Changed the F-PROT scanner name into fpscan.
|
||||
|
@ -249,7 +249,8 @@ void count_download(char *filename, time_t filedate, off_t filesize, char *dltyp
|
||||
|
||||
if ((fdb_area = mbsedb_OpenFDB(i, 30))) {
|
||||
while (fread(&frec, fdbhdr.recsize, 1, fdb_area->fp) == 1) {
|
||||
if (((strcmp(frec.Name, temp) == 0) || (strcmp(frec.LName, temp) == 0)) && (frec.Size == filesize)) {
|
||||
if (((strcasecmp(frec.Name, temp) == 0) || (strcasecmp(frec.LName, temp) == 0)) &&
|
||||
(frec.Size == filesize)) {
|
||||
Syslog('+', "%s download %s from area %d", dltype, temp, i);
|
||||
frec.LastDL = filedate;
|
||||
frec.TimesDL++;
|
||||
|
Reference in New Issue
Block a user