From 5bf62c9d2f5d9ec9082bb7cfa337d05ff920b489 Mon Sep 17 00:00:00 2001 From: OV2 Date: Thu, 29 Mar 2012 15:58:40 +0200 Subject: [PATCH] Restrict "absent" messages during snapshot loading to DEBUGGER --- snapshot.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/snapshot.cpp b/snapshot.cpp index ba6a11c8..282198f5 100644 --- a/snapshot.cpp +++ b/snapshot.cpp @@ -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); }