diff --git a/xwords4/relay/xwrelay.cpp b/xwords4/relay/xwrelay.cpp index 7f3a05c64..efff3b4a9 100644 --- a/xwords4/relay/xwrelay.cpp +++ b/xwords4/relay/xwrelay.cpp @@ -742,9 +742,10 @@ handle_proxy_tproc( void* closure ) } HostID hid; char connName[MAX_CONNNAME_LEN+1]; - parseRelayID( name, connName, &hid ); - ids.push_back( DBMgr::Get()-> - PendingMsgCount( connName, hid ) ); + if ( parseRelayID( name, connName, &hid ) ) { + ids.push_back( DBMgr::Get()-> + PendingMsgCount( connName, hid ) ); + } in = NULL; }