diff options
author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 03:22:43 +0100 |
---|---|---|
committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 03:22:43 +0100 |
commit | acb19fe8f7acaeccb3fe0c1cb11e8ab5fd5e8a1b (patch) | |
tree | ee9498cceec68bb5b3bf0b9f7a52fecdc80b1bca /plugins | |
parent | f0d780384219dabb5b7ad569a7dfb3576b199230 (diff) | |
download | monitoring-plugins-acb19fe8f7acaeccb3fe0c1cb11e8ab5fd5e8a1b.tar.gz |
check_dig: Linter fixes
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_dig.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_dig.c b/plugins/check_dig.c index e5f99930..4d89ca86 100644 --- a/plugins/check_dig.c +++ b/plugins/check_dig.c | |||
@@ -65,7 +65,8 @@ static struct timeval tv; | |||
65 | 65 | ||
66 | int main(int argc, char **argv) { | 66 | int main(int argc, char **argv) { |
67 | char *command_line; | 67 | char *command_line; |
68 | output chld_out, chld_err; | 68 | output chld_out; |
69 | output chld_err; | ||
69 | char *msg = NULL; | 70 | char *msg = NULL; |
70 | size_t i; | 71 | size_t i; |
71 | char *t; | 72 | char *t; |
@@ -293,8 +294,7 @@ int process_arguments(int argc, char **argv) { | |||
293 | int validate_arguments(void) { | 294 | int validate_arguments(void) { |
294 | if (query_address != NULL) | 295 | if (query_address != NULL) |
295 | return OK; | 296 | return OK; |
296 | else | 297 | return ERROR; |
297 | return ERROR; | ||
298 | } | 298 | } |
299 | 299 | ||
300 | void print_help(void) { | 300 | void print_help(void) { |