Updated version.
[m6w6/libmemcached] / tests / atomsmasher.c
index 65a31dd4404f09344fcb999ada6e8b0f11c9eea1..eee08d6b724da3a4616e10e362b7a024f9e0d15e 100644 (file)
@@ -173,7 +173,7 @@ static test_return add_test(memcached_st *memc)
 
   /* Too many broken OS'es have broken loopback in async, so we can't be sure of the result */
   if (setting_value)
-    assert(rc == MEMCACHED_NOTSTORED || MEMCACHED_STORED);
+    assert(rc == MEMCACHED_NOTSTORED || rc == MEMCACHED_STORED);
   else
     assert(rc == MEMCACHED_NOTSTORED);