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:
813fb1a
)
Remote debug ubuntu
author
Brian Aker
<brian@tangent.org>
Fri, 11 Feb 2011 23:50:41 +0000
(15:50 -0800)
committer
Brian Aker
<brian@tangent.org>
Fri, 11 Feb 2011 23:50:41 +0000
(15:50 -0800)
libmemcached/io.c
patch
|
blob
|
history
diff --git
a/libmemcached/io.c
b/libmemcached/io.c
index efb0efad8dafc2ad9c574fabad2b6469ca85c410..0cef65f04b0018b869f451caeb2006428dd7a0bd 100644
(file)
--- a/
libmemcached/io.c
+++ b/
libmemcached/io.c
@@
-408,7
+408,6
@@
static ssize_t _io_write(memcached_server_write_instance_st ptr,
sent_length= io_flush(ptr, &rc);
if (sent_length == -1)
{
- fprintf(stderr, "%s:%d (%s)\n", __FILE__, __LINE__,__func__);fflush(stdout);
return -1;
}
@@
-658,7
+657,7
@@
static ssize_t io_flush(memcached_server_write_instance_st ptr,
default:
memcached_quit_server(ptr, true);
*error= MEMCACHED_ERRNO;
- fprintf(stderr, "%s:%d (%s)
\n", __FILE__, __LINE__,__func__
);fflush(stdout);
+ fprintf(stderr, "%s:%d (%s)
(%s)\n", __FILE__, __LINE__,__func__, strerror(errno)
);fflush(stdout);
return -1;
}
}