From acb19fe8f7acaeccb3fe0c1cb11e8ab5fd5e8a1b Mon Sep 17 00:00:00 2001 From: RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> Date: Thu, 31 Oct 2024 03:22:43 +0100 Subject: check_dig: Linter fixes diff --git a/plugins/check_dig.c b/plugins/check_dig.c index e5f9993..4d89ca8 100644 --- a/plugins/check_dig.c +++ b/plugins/check_dig.c @@ -65,7 +65,8 @@ static struct timeval tv; int main(int argc, char **argv) { char *command_line; - output chld_out, chld_err; + output chld_out; + output chld_err; char *msg = NULL; size_t i; char *t; @@ -293,8 +294,7 @@ int process_arguments(int argc, char **argv) { int validate_arguments(void) { if (query_address != NULL) return OK; - else - return ERROR; + return ERROR; } void print_help(void) { -- cgit v0.10-9-g596f