Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
7b35daa3
Commit
7b35daa3
authored
Jan 30, 2009
by
rswindell
Browse files
Added the "enter '-' for description to skip file" in bulkupload() feature.
parent
f3d60310
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/sbbs3/upload.cpp
src/sbbs3/upload.cpp
+3
-1
No files found.
src/sbbs3/upload.cpp
View file @
7b35daa3
...
...
@@ -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 200
8
Rob Swindell - http://www.synchro.net/copyright.html *
* Copyright 200
9
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 *
...
...
@@ -600,6 +600,8 @@ bool sbbs_t::bulkupload(uint dirnum)
getstr
(
f
.
desc
,
LEN_FDESC
,
K_LINE
);
if
(
sys_status
&
SS_ABORT
)
break
;
if
(
strcmp
(
f
.
desc
,
"-"
)
==
0
)
/* don't add this file */
continue
;
uploadfile
(
&
f
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment