Created
August 16, 2010 07:15
-
-
Save kazeburo/526559 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- memcached-1.4.5.orig/memcached.c 2010-04-04 04:51:29.000000000 +0900 | |
+++ memcached-1.4.5/memcached.c 2010-08-16 16:11:21.000000000 +0900 | |
static void process_stat_settings(ADD_STAT add_stats, void *c) { | |
assert(add_stats); | |
- APPEND_STAT("maxbytes", "%u", (unsigned int)settings.maxbytes); | |
+ APPEND_STAT("maxbytes", "%llu", (unsigned long long)settings.maxbytes); | |
APPEND_STAT("maxconns", "%d", settings.maxconns); | |
APPEND_STAT("tcpport", "%d", settings.port); | |
APPEND_STAT("udpport", "%d", settings.udpport); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment