Skip to content

Commit 57c1ff5

Browse files
authored
Merge pull request #1675 from wwivbbs/1669-fix-to-accept-uploads
Fix to accept uploads
2 parents 9a1cf39 + 1b3ecb6 commit 57c1ff5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bbs/batch.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@ void upload(int dn) {
811811
}
812812
const auto& d = a()->dirs()[dn];
813813
dliscan1(d);
814-
const long free_space = File::freespace_for_path(d.path);
814+
const auto free_space = File::freespace_for_path(d.path);
815815
if (free_space < 100) {
816816
bout.outstr("\r\nNot enough disk space to upload here.\r\n\n");
817817
return;

0 commit comments

Comments
 (0)