summaryrefslogtreecommitdiff
path: root/memcached.h
diff options
context:
space:
mode:
Diffstat (limited to 'memcached.h')
-rw-r--r--memcached.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/memcached.h b/memcached.h
index f4cbdd3..dd8414c 100644
--- a/memcached.h
+++ b/memcached.h
@@ -178,7 +178,7 @@ typedef struct _stritem {
/* Stat processing macros */
/* Append a simple stat with a stat name, value format and value */
-#define APPEND_STAT(fmt, name, val) \
+#define APPEND_STAT(name, fmt, val) \
vlen = sprintf(val_str, fmt, val); \
size = add_stats(pos, name, strlen(name), val_str, vlen, c); \
*buflen += size; \