Commit 7aa7df50 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

More correct error message

parent eb7e6bbf
......@@ -311,7 +311,7 @@ void sbbs_t::sof(char *fname, char *answers, long len)
length=(long)filelength(file);
if(length < 0) {
close(file);
errormsg(WHERE, ERR_CHK, str, length);
errormsg(WHERE, ERR_LEN, str, length);
return;
}
if((buf=(char *)calloc(length + 1, 1))==0) {
......
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