projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
Removed dumb bug concerning set (was still using a buffer).
[m6w6/libmemcached]
/
lib
/
memcached_stats.c
diff --git
a/lib/memcached_stats.c
b/lib/memcached_stats.c
index 2511532c26f7db2754cf1081ebc221980acb0517..8928ee0909ec06bbba9ab23be4486d86fb2d948b 100644
(file)
--- a/
lib/memcached_stats.c
+++ b/
lib/memcached_stats.c
@@
-136,7
+136,7
@@
static memcached_return memcached_stats_fetch(memcached_st *ptr,
send_length= snprintf(buffer, HUGE_STRING_LEN,
"stats\r\n");
- if ((
send(ptr->hosts[server_key].fd, buffer, send_length, 0
) == -1))
+ if ((
write(ptr->hosts[server_key].fd, buffer, send_length
) == -1))
{
fprintf(stderr, "failed on stats\n");