Commit d50a2cd9 authored by rswindell's avatar rswindell
Browse files

Fix issue with uploading files >2GB. 4GB files still not supported due to

32-bit file size limitation.
parent 9061633e
......@@ -139,7 +139,7 @@ bool sbbs_t::uploadfile(file_t *f)
}
}
if((length=(long)flength(path))<=0L) {
if((length=(long)flength(path))==0L) {
bprintf(text[FileZeroLength],f->name);
remove(path);
sprintf(str,"%s attempted to upload %s to %s %s (Zero length)"
......
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