diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2012-03-14 19:34:35 +0100 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2012-03-25 19:00:00 +0200 |
commit | b34fd7432d61b992446a3cd9c6f8eb7747ba0a76 (patch) | |
tree | 60a5b34a3e37177ea6a54da9fd8d2b475bfe9257 /server/red_client_cache.h | |
parent | 359fc1cb5dbbcf32132c3e8ee6f881a23deff684 (diff) | |
download | spice-b34fd7432d61b992446a3cd9c6f8eb7747ba0a76.tar.gz spice-b34fd7432d61b992446a3cd9c6f8eb7747ba0a76.tar.xz spice-b34fd7432d61b992446a3cd9c6f8eb7747ba0a76.zip |
Use the spice-common logging functions
It will abort by default for critical level messages. That behaviour
can be tuned at runtime.
Diffstat (limited to 'server/red_client_cache.h')
-rw-r--r-- | server/red_client_cache.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/red_client_cache.h b/server/red_client_cache.h index 0da11a65..dc314c05 100644 --- a/server/red_client_cache.h +++ b/server/red_client_cache.h @@ -63,11 +63,11 @@ static void FUNC_NAME(remove)(CHANNELCLIENT *channel_client, CacheItem *item) { CacheItem **now; CHANNEL *channel = CHANNEL_FROM_RCC(&channel_client->common.base); - ASSERT(item); + spice_assert(item); now = &channel_client->CACHE_NAME[CACHE_HASH_KEY(item->id)]; for (;;) { - ASSERT(*now); + spice_assert(*now); if (*now == item) { *now = item->u.cache_data.next; break; |