From: Brian Aker Date: Mon, 21 May 2012 07:41:46 +0000 (-0400) Subject: Enable assert. X-Git-Tag: 1.0.8~2^2~2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=0b1f3751f2f2131482edd2fd23bd02b5242b5aac;p=m6w6%2Flibmemcached Enable assert. --- diff --git a/libmemcached/io.cc b/libmemcached/io.cc index 885e2391..ed33f05a 100644 --- a/libmemcached/io.cc +++ b/libmemcached/io.cc @@ -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(buffer);