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

Don't log debug msgs when reading 0 (\x00) from chat.dab file, expected

This just resulted in a lot of unhelpful noise in the log output
parent 9229bef0
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #3321 passed
......@@ -1095,14 +1095,13 @@ void sbbs_t::privchat(bool forced, int node_num)
if(rd != 1) {
lprintf(LOG_ERR, "read character from %s returned %d instead of 1", inpath, rd);
ch = 0;
} else {
}
(void)lseek(in,-1L,SEEK_CUR);
if(!ch) break; /* char from other node */
if(ch < ' ')
lprintf(LOG_DEBUG, "read control character %u (%s) from %s", ch, c_escape_char(ch), inpath);
else
lprintf(LOG_DEBUG, "read character '%c' from %s", ch, inpath);
}
(void)lseek(in,-1L,SEEK_CUR);
if(!ch) break; /* char from other node */
activity=1;
if(sys_status&SS_SPLITP && !remote_activity) {
ansi_getxy(&x,&y);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment