summaryrefslogtreecommitdiff
path: root/libmemcached/stats.cc
diff options
context:
space:
mode:
authorBrian Aker <brian@tangent.org>2011-10-03 11:00:58 -0400
committerBrian Aker <brian@tangent.org>2011-10-03 11:00:58 -0400
commit098b147ae544499cda8b3c7333173bb5f6e01b82 (patch)
treec5dbabe20342ed30e7b09decf658bbee9a0f5a07 /libmemcached/stats.cc
parent997db18fb96e07ee64e9ab7564055410aa6a1c23 (diff)
downloadlibmemcached-098b147ae544499cda8b3c7333173bb5f6e01b82.tar.gz
Flip structure declation.
Diffstat (limited to 'libmemcached/stats.cc')
-rw-r--r--libmemcached/stats.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmemcached/stats.cc b/libmemcached/stats.cc
index 88e2d101..3b664802 100644
--- a/libmemcached/stats.cc
+++ b/libmemcached/stats.cc
@@ -333,8 +333,8 @@ static memcached_return_t binary_stats_fetch(memcached_stat_st *memc_stat,
struct libmemcached_io_vector_st vector[]=
{
- { sizeof(request.bytes), request.bytes },
- { len, args }
+ { request.bytes, sizeof(request.bytes) },
+ { args, len }
};
if (memcached_vdo(instance, vector, 2, true) != MEMCACHED_SUCCESS)