X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=lib%2Fmemcached_storage.c;h=f9ba64d6db358467523f1098417c63d427c57bbe;hb=1bd637f6eccc1064a4e19e40b14a340818d1ccf3;hp=9d82b56f8659244c7dfc2c16072f18a39e5b95ce;hpb=2c7a6aaf4a69aab11206078afcd3355271ddf128;p=m6w6%2Flibmemcached diff --git a/lib/memcached_storage.c b/lib/memcached_storage.c index 9d82b56f..f9ba64d6 100644 --- a/lib/memcached_storage.c +++ b/lib/memcached_storage.c @@ -33,13 +33,13 @@ static memcached_return memcached_send(memcached_st *ptr, char buffer[MEMCACHED_DEFAULT_COMMAND_SIZE]; unsigned int server_key; - assert(value); - assert(value_length); + WATCHPOINT_ASSERT(value); + WATCHPOINT_ASSERT(value_length); - /* Leaving this assert in since only a library fubar could blow this */ + /* Leaving this WATCHPOINT_ASSERT in since only a library fubar could blow this */ #ifdef NOT_DONE if (!(ptr->flags & MEM_NO_BLOCK) && ptr->write_buffer_offset != 0) - assert(0); + WATCHPOINT_ASSERT(0); #endif server_key= memcached_generate_hash(ptr, key, key_length);