/* Set the link at address 'alx' to point to node 'x'. If 'alx' is ADDR_NULL, then this sets the tree root to 'x'.  */
static void set_link(br_ssl_session_cache_lru *cc, uint32_t alx, uint32_t x)
/* Set the link at address 'alx' to point to node 'x'. If 'alx' is ADDR_NULL, then this sets the tree root to 'x'.  */
static void set_link(br_ssl_session_cache_lru *cc, uint32_t alx, uint32_t x)
{
	if (alx == ADDR_NULL) {
		cc->root = x;
	} else {
		br_enc32be(cc->store + alx, x);
	}
}