TIC attaches now 8.3 filenames
This commit is contained in:
parent
5cf51d1157
commit
b1ac22bf97
@ -30,6 +30,7 @@ v0.35.06
|
||||
the wrong filetime in the files database. The mbfile check
|
||||
command would detect and correct this.
|
||||
TIC files added to the bbs will now also have a 8.3 hard link.
|
||||
With TIC file attaches, the filename attached is the 8.3 name.
|
||||
|
||||
mbcico:
|
||||
With filetransfer errors, the attempts counter was not
|
||||
|
@ -102,12 +102,18 @@ void ForwardFile(fidoaddr Node, fa_list *sbl)
|
||||
/*
|
||||
* Create the full filename
|
||||
*/
|
||||
if (TIC.SendOrg) {
|
||||
if (TIC.PassThru || TIC.SendOrg) {
|
||||
sprintf(fwdfile, "%s/%s", TIC.Inbound, TIC.RealName);
|
||||
subject = xstrcpy(TIC.RealName);
|
||||
} else {
|
||||
sprintf(fwdfile, "%s/%s", TIC.BBSpath, TIC.NewName);
|
||||
subject = xstrcpy(TIC.NewName);
|
||||
/*
|
||||
* Make sure the file attach is the 8.3 filename
|
||||
*/
|
||||
temp = xstrcpy(TIC.NewName);
|
||||
name_mangle(temp);
|
||||
sprintf(fwdfile, "%s/%s", TIC.BBSpath, temp);
|
||||
subject = xstrcpy(temp);
|
||||
free(temp);
|
||||
}
|
||||
|
||||
flavor = 'f';
|
||||
|
Reference in New Issue
Block a user