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

Fix: sbbs_t::bulkupload(), e.g. initiated with the :UPLOAD sysop command would

set the "extended description" flag for all subsequently added files if one of
the files uploaded/added contained an embedded description (FILE_ID.DIZ)
causing garbage extended description display when viewing extended information
on files that did not in fact have an embedded description.
parent c5da5560
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@
* @format.tab-size 4 (Plain Text/Source Code File Header) *
* @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) *
* *
* Copyright 2015 Rob Swindell - http://www.synchro.net/copyright.html *
* Copyright Rob Swindell - http://www.synchro.net/copyright.html *
* *
* This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License *
......@@ -590,6 +590,7 @@ bool sbbs_t::bulkupload(uint dirnum)
padfname(getfname(spath),str);
if(findfile(&cfg,f.dir,str)==0) {
f.misc=0;
strcpy(f.name,str);
f.cdt=(long)flength(spath);
bprintf(text[BulkUploadDescPrompt],f.name,f.cdt/1024);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment