projects
/
awesomized
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
9c7e4d7
)
if/def a WATCHPOINT
author
Brian Aker
<brian@gaz>
Tue, 3 Aug 2010 03:54:30 +0000
(20:54 -0700)
committer
Brian Aker
<brian@gaz>
Tue, 3 Aug 2010 03:54:30 +0000
(20:54 -0700)
clients/ms_setting.c
patch
|
blob
|
history
libmemcached/io.c
patch
|
blob
|
history
diff --git
a/clients/ms_setting.c
b/clients/ms_setting.c
index ac76853fbb1289192dc88e05aa5a2ae4843a1149..d7099709490d0edba7f55b7965082982ba129601 100644
(file)
--- a/
clients/ms_setting.c
+++ b/
clients/ms_setting.c
@@
-19,7
+19,6
@@
#include <pwd.h>
#include <strings.h>
#include <sys/types.h>
-#include <sys/types.h>
#include <unistd.h>
diff --git
a/libmemcached/io.c
b/libmemcached/io.c
index 9a20609b1ce4b2343509472428fe30b96e1521f9..299242f68f328babc3ec92c4d84c56c2c6ae6f2a 100644
(file)
--- a/
libmemcached/io.c
+++ b/
libmemcached/io.c
@@
-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: