Restrict "absent" messages during snapshot loading to DEBUGGER

This commit is contained in:
OV2 2012-03-29 15:58:40 +02:00
parent 8e1b726b6b
commit 5bf62c9d2f

View File

@ -2065,7 +2065,9 @@ static int UnfreezeBlock (STREAM stream, const char *name, uint8 *block, int siz
if (l != 11 || strncmp(buffer, name, 3) != 0 || buffer[3] != ':')
{
err:
#ifdef DEBUGGER
fprintf(stdout, "absent: %s(%d); next: '%.11s'\n", name, size, buffer);
#endif
REVERT_STREAM(stream, FIND_STREAM(stream) - l, 0);
return (WRONG_FORMAT);
}