causing the "<blah> is not connected to the network" errors... clients will
be disconnected when they receive bad XML
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@666
9efc2488-bf62-4759-914b-
345cdb29e865
if(node) {
if( (osrfChatPushData( server, node, data ) == -1) ) {
- osrfLogWarning( OSRF_LOG_MARK, "Node at socket %d received bad XML, disconnecting...", sockid );
+ osrfLogWarning( OSRF_LOG_MARK, "Node at socket %d received bad XML [%s], disconnecting...", sockid, data );
osrfChatSendRaw( node, OSRF_CHAT_PARSE_ERROR );
osrfChatRemoveNode( server, node );
}