diff --git a/src/sbbs3/upload.cpp b/src/sbbs3/upload.cpp index acf51961324ec896fdd6961793b33b580f853a1d..c14630666c6e67c6a3d1b8a2104ea1f878b30dae 100644 --- a/src/sbbs3/upload.cpp +++ b/src/sbbs3/upload.cpp @@ -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)"