Skip to content
Snippets Groups Projects
Commit 507a5904 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

More correct error message

parent e5081198
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment