if/def a WATCHPOINT
authorBrian Aker <brian@gaz>
Tue, 3 Aug 2010 03:54:30 +0000 (20:54 -0700)
committerBrian Aker <brian@gaz>
Tue, 3 Aug 2010 03:54:30 +0000 (20:54 -0700)
clients/ms_setting.c
libmemcached/io.c

index ac76853fbb1289192dc88e05aa5a2ae4843a1149..d7099709490d0edba7f55b7965082982ba129601 100644 (file)
@@ -19,7 +19,6 @@
 #include <pwd.h>
 #include <strings.h>
 #include <sys/types.h>
-#include <sys/types.h>
 #include <unistd.h>
 
 
index 9a20609b1ce4b2343509472428fe30b96e1521f9..299242f68f328babc3ec92c4d84c56c2c6ae6f2a 100644 (file)
@@ -613,8 +613,10 @@ static ssize_t io_flush(memcached_server_write_instance_st ptr,
     if (sent_length == SOCKET_ERROR)
     {
       ptr->cached_errno= get_socket_errno();
+#if 0 // @todo I should look at why we hit this bit of code hard frequently
       WATCHPOINT_ERRNO(get_socket_errno());
       WATCHPOINT_NUMBER(get_socket_errno());
+#endif
       switch (get_socket_errno())
       {
       case ENOBUFS: