don't kill socket when client connects before server

This commit is contained in:
ehouse 2005-03-21 05:30:55 +00:00
parent dcebf5bc78
commit 8b34f57bf9

View file

@ -197,6 +197,9 @@ forwardMessage( unsigned char* buf, int bufLen )
*buf = XWRELAY_MSG_FROMRELAY;
send_with_length( socket, buf, bufLen );
success = 1;
} else if ( dest == HOST_ID_SERVER ) {
logf( "server not connected yet; fail silently" );
success = 1;
}
}
return success;