diff options
author | minkikim89 <minkikim89@gmail.com> | 2020-12-27 15:33:15 +0900 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2021-06-07 21:54:21 -0700 |
commit | 5ad7a83a77c36a6a57d856c0296af45897896753 (patch) | |
tree | 365cc9ba140a28fe3924937bbe7a17afa0eaa46d /proto_text.c | |
parent | 02305885e3d9d82fb1cd00a5869ce1fb49cfb62a (diff) | |
download | memcached-5ad7a83a77c36a6a57d856c0296af45897896753.tar.gz |
Fix expiration test to use debugtime command
Diffstat (limited to 'proto_text.c')
-rw-r--r-- | proto_text.c | 4 |
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; } |