Remove s_check() macro

This commit is contained in:
matt335672
2022-02-09 10:18:15 +00:00
parent a13742f097
commit e6c098e750
3 changed files with 2 additions and 5 deletions
+1 -1
View File
@@ -575,7 +575,7 @@ handle_cb_format_data_response(struct vnc *v, struct stream *s)
{
case CF_TEXT:
lastc = '\0';
while (s_check(s))
while (s_check_rem(s, 1))
{
in_uint8(s, c);
if (c == '\n' && lastc == '\r')