diff --git a/xwords4/common/comms.c b/xwords4/common/comms.c index 364b0a6f5..85bbd801c 100644 --- a/xwords4/common/comms.c +++ b/xwords4/common/comms.c @@ -2522,7 +2522,11 @@ comms_checkIncomingStream( CommsCtxt* comms, XWEnv xwe, XWStreamCtxt* stream, noteHBReceived( comms/* , addr */ ); } +#ifdef COMMS_CHECKSUM LOG_RETURNF( "%s (len: %d; sum: %s)", boolToStr(messageValid), state->len, state->sum ); +#else + LOG_RETURNF( "%s (len: %d)", boolToStr(messageValid), state->len ); +#endif return messageValid; } /* comms_checkIncomingStream */