diff options
author | Steve Yen <steve.yen@gmail.com> | 2009-01-26 23:31:33 -0800 |
---|---|---|
committer | Steve Yen <steve.yen@gmail.com> | 2009-03-02 08:48:26 -0800 |
commit | a53e616646693ead37a0ae474c1851f287204d90 (patch) | |
tree | 275213dcb7725b88a0922865187ea52fdbca0b59 | |
parent | 8dc3a6e60b10021ee391ff439a768e768664a8b2 (diff) | |
download | memcached-a53e616646693ead37a0ae474c1851f287204d90.tar.gz |
too many args in stats cachedump message
Fixed memcached-tool to send a proper 'stats cachedump' message during
the dump command. It had 1 too many arguments.
-rwxr-xr-x | scripts/memcached-tool | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/memcached-tool b/scripts/memcached-tool index 7a40fd4..7f91291 100755 --- a/scripts/memcached-tool +++ b/scripts/memcached-tool @@ -107,7 +107,7 @@ if ($mode eq 'dump') { foreach my $bucket (sort(keys(%items))) { print STDERR "Dumping bucket $bucket - " . $items{$bucket} . " total items\n"; - print $sock "stats cachedump $bucket $items{$bucket} 1\r\n"; + print $sock "stats cachedump $bucket $items{$bucket}\r\n"; my %keyexp; while (<$sock>) { last if /^END/; |