summaryrefslogtreecommitdiff
path: root/proto_text.c
diff options
context:
space:
mode:
authorminkikim89 <minkikim89@gmail.com>2020-12-27 15:33:15 +0900
committerdormando <dormando@rydia.net>2021-06-07 21:54:21 -0700
commit5ad7a83a77c36a6a57d856c0296af45897896753 (patch)
tree365cc9ba140a28fe3924937bbe7a17afa0eaa46d /proto_text.c
parent02305885e3d9d82fb1cd00a5869ce1fb49cfb62a (diff)
downloadmemcached-5ad7a83a77c36a6a57d856c0296af45897896753.tar.gz
Fix expiration test to use debugtime command
Diffstat (limited to 'proto_text.c')
-rw-r--r--proto_text.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/proto_text.c b/proto_text.c
index f173020..d060b17 100644
--- a/proto_text.c
+++ b/proto_text.c
@@ -2069,15 +2069,11 @@ static void process_misbehave_command(conn *c) {
}
static void process_debugtime_command(conn *c, token_t *tokens, const size_t ntokens) {
- struct timeval tv;
-
if (strcmp(tokens[1].value, "p") == 0) {
- gettimeofday(&tv, NULL);
if (!is_paused) {
is_paused = true;
}
} else if (strcmp(tokens[1].value, "r") == 0) {
- gettimeofday(&tv, NULL);
if (is_paused) {
is_paused = false;
}