From 5ad7a83a77c36a6a57d856c0296af45897896753 Mon Sep 17 00:00:00 2001 From: minkikim89 Date: Sun, 27 Dec 2020 15:33:15 +0900 Subject: Fix expiration test to use debugtime command --- proto_text.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'proto_text.c') 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; } -- cgit v1.2.1