projects
/
m6w6
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
868795e
)
Enable assert.
author
Brian Aker
<brian@tangent.org>
Mon, 21 May 2012 07:41:46 +0000
(
03:41
-0400)
committer
Brian Aker
<brian@tangent.org>
Mon, 21 May 2012 07:41:46 +0000
(
03:41
-0400)
libmemcached/io.cc
patch
|
blob
|
history
diff --git
a/libmemcached/io.cc
b/libmemcached/io.cc
index 885e23919edfea4865cfaab698f00b482afb6487..ed33f05a2e6ba4d94ba7d74774456c9c18a93e2a 100644
(file)
--- 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<const char *>(buffer);