From a9b459ea2e40a04e8c5f55996e018b79ef39884f Mon Sep 17 00:00:00 2001 From: Eric House Date: Sat, 26 Jan 2013 21:16:48 -0800 Subject: [PATCH] log rather than assert --- xwords4/relay/xwrelay.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xwords4/relay/xwrelay.cpp b/xwords4/relay/xwrelay.cpp index 2d9881669..b5c10e3f5 100644 --- a/xwords4/relay/xwrelay.cpp +++ b/xwords4/relay/xwrelay.cpp @@ -1092,7 +1092,10 @@ handleProxyMsgs( int sock, const AddrInfo* addr, const unsigned char* bufp, } } } - assert( bufp == end ); // don't ship with this!!! + if ( bufp != end ) { + logf( XW_LOGERROR, "%s: buf != end: %p vs %p", __func__, bufp, end ); + } + // assert( bufp == end ); // don't ship with this!!! } } // handleProxyMsgs