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:
d34abf0
)
Commit additional test for remote...
author
Brian Aker
<brian@tangent.org>
Sat, 12 Feb 2011 07:14:02 +0000
(23:14 -0800)
committer
Brian Aker
<brian@tangent.org>
Sat, 12 Feb 2011 07:14:02 +0000
(23:14 -0800)
libmemcached/io.c
patch
|
blob
|
history
diff --git
a/libmemcached/io.c
b/libmemcached/io.c
index 6ecac2457bb64b44dfcd8f4a94fb814e4eda89f7..3b5d44f570e2003313963a6c70a1600287f382ba 100644
(file)
--- a/
libmemcached/io.c
+++ b/
libmemcached/io.c
@@
-660,9
+660,11
@@
static ssize_t io_flush(memcached_server_write_instance_st ptr,
case ENOTCONN:
case EPIPE:
default:
+ fprintf(stderr, "%s %u %u %u\n", ptr->hostname, ptr->port, ptr->io_bytes_sent, ptr->server_failure_counter);
fprintf(stderr, "%s:%d (%s)(%s)\n", __FILE__, __LINE__,__func__, strerror(errno));fflush(stdout);
memcached_quit_server(ptr, true);
*error= MEMCACHED_ERRNO;
+ assert(ptr->fd == -1);
return -1;
}
}