Commit c4b38cc9 authored by rswindell's avatar rswindell
Browse files

Increased length of filename supported by SBBSFILENAME environment variable.

parent 72771334
......@@ -79,7 +79,7 @@ bool sbbs_t::uploadfile(file_t *f)
attr(LIGHTGRAY);
bputs(cfg.ftest[i]->workstr);
sprintf(sbbsfilename,"SBBSFILENAME=%.12s",unpadfname(f->name,fname));
sprintf(sbbsfilename,"SBBSFILENAME=%.64s",unpadfname(f->name,fname));
putenv(sbbsfilename);
sprintf(sbbsfiledesc,"SBBSFILEDESC=%.*s",LEN_FDESC,f->desc);
putenv(sbbsfiledesc);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment