Skip to content
Snippets Groups Projects
Commit fda55a92 authored by rswindell's avatar rswindell
Browse files

Don't use the system temp directory for the default FTP temp dir

(long filenames, as used in Win32 temp dirs, cause problems with 16-bit
pkunzip - for FILE_ID.DIZ). If no FTP temp dir is specified, data/temp is used
(in ftpsrvr.c).
parent 05339817
Branches
Tags
No related merge requests found
......@@ -303,12 +303,8 @@ void sbbs_read_ini(
SAFECOPY(ftp->hack_sound
,iniReadString(fp,section,"HackAttemptSound",nulstr,value));
if(ftp->temp_dir[0])
p=ftp->temp_dir;
else
p=_PATH_TMP;
SAFECOPY(ftp->temp_dir
,iniReadString(fp,section,strTempDirectory,p,value));
,iniReadString(fp,section,strTempDirectory,ftp->temp_dir,value));
ftp->log_mask
=iniReadBitField(fp,section,strLogMask,log_mask_bits,global->log_mask);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment