diff --git a/xwords4/common/comms.c b/xwords4/common/comms.c index 6cfa61ac5..45600d174 100644 --- a/xwords4/common/comms.c +++ b/xwords4/common/comms.c @@ -237,6 +237,7 @@ static void sendEmptyMsg( CommsCtxt* comms, AddressRecord* rec ); #ifdef DEBUG # define CNO_FMT(buf, cno) \ + XP_ASSERT( 0 == ((cno) & (1 << SERVER_OFFSET))); \ XP_UCHAR (buf)[64]; \ XP_SNPRINTF( (buf), sizeof(buf), "cno: %.4X|%x", \ (cno) & ~CHANNEL_MASK, (cno) & CHANNEL_MASK )