got on track through
bbsview_renderer.c: In function ‘bbsview_get_last_seen’:
bbsview_renderer.c:63: warning: ISO C90 forbids mixed declarations and code
to
long bbsview_get_last_seen(void)
which calls GTSN to retrieve the seen-record for the room, right?
uncompressed seen records may become up to 4k aka SIZ, right?
the reply is up to '200 ' + SIZ then in here if I get that correctly? which would be 4 bytes bigger than the buffer used to keep it.
One of two good reasons not to use static buffers; Second one: GetServerStatus() which may enable us to react to '200-' in some not to distant future.
ChrPtr gives you a const char* out of that StrBuf for your strchr; you can use StrBufCutAt() to cut it at that place as you did