X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fudp.c;h=3aa48a011895d305d003b98d1967f8b1abaf93e7;hb=e4ea2e9129e57ee1da4787a473d21b6aa9930396;hp=dc33ae67360821c9af86f7fe742e417efe6749bc;hpb=12ff9b29129ec9764dc4f6c5859743a574bab32c;p=m6w6%2Flibmemcached diff --git a/tests/udp.c b/tests/udp.c index dc33ae67..3aa48a01 100644 --- a/tests/udp.c +++ b/tests/udp.c @@ -25,10 +25,10 @@ test_return_t set_test(memcached_st *memc) const char *key= "foo"; const char *value= "when we sanitize"; - rc= memcached_set(memc, key, strlen(key), + rc= memcached_set(memc, key, strlen(key), value, strlen(value), (time_t)0, (uint32_t)0); - assert(rc == MEMCACHED_SUCCESS || rc == MEMCACHED_BUFFERED); + test_truth(rc == MEMCACHED_SUCCESS || rc == MEMCACHED_BUFFERED); return TEST_SUCCESS; }