Enable assert.
authorBrian Aker <brian@tangent.org>
Mon, 21 May 2012 07:41:46 +0000 (03:41 -0400)
committerBrian Aker <brian@tangent.org>
Mon, 21 May 2012 07:41:46 +0000 (03:41 -0400)
libmemcached/io.cc

index 885e23919edfea4865cfaab698f00b482afb6487..ed33f05a2e6ba4d94ba7d74774456c9c18a93e2a 100644 (file)
@@ -552,7 +552,7 @@ static bool _io_write(memcached_server_write_instance_st ptr,
                       const void *buffer, size_t length, bool with_flush,
                       size_t& written)
 {
-  WATCHPOINT_ASSERT(ptr->fd != INVALID_SOCKET);
+  assert(ptr->fd != INVALID_SOCKET);
   assert(memcached_is_udp(ptr->root) == false);
 
   const char *buffer_ptr= static_cast<const char *>(buffer);