tests: don't log buffer length in throwing away message

It's not available at that point, and it will be written in the
non-error case right afterward.
This commit is contained in:
Dan Fandrich 2024-06-03 22:19:14 -07:00
parent bc21c505e4
commit 4a7bb40dea

View File

@ -921,7 +921,7 @@ static bool disc_handshake(void)
} }
else if(!memcmp("DATA", buffer, 4)) { else if(!memcmp("DATA", buffer, 4)) {
/* We must read more data to stay in sync */ /* We must read more data to stay in sync */
logmsg("Throwing away %zd data bytes", buffer_len); logmsg("Throwing away data bytes");
if(!read_data_block(buffer, sizeof(buffer), &buffer_len)) if(!read_data_block(buffer, sizeof(buffer), &buffer_len))
return FALSE; return FALSE;