diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-03-10 01:32:49 +0100 |
---|---|---|
committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-03-10 01:32:49 +0100 |
commit | acf57dba5233926a95fc746429f31f3009111b6f (patch) | |
tree | 70cc8265e65822e2c36c056e7d0188a1bfdff29a | |
parent | 883fcb607f9b3e810e22b2e21da7441a073b6e32 (diff) | |
download | monitoring-plugins-acf57dba5233926a95fc746429f31f3009111b6f.tar.gz |
check_smtp: Remove unused enum
-rw-r--r-- | plugins/check_smtp.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c index 0be02937..1b36a22a 100644 --- a/plugins/check_smtp.c +++ b/plugins/check_smtp.c | |||
@@ -91,11 +91,6 @@ static int my_close(int /*socket_descriptor*/); | |||
91 | 91 | ||
92 | static int verbose = 0; | 92 | static int verbose = 0; |
93 | 93 | ||
94 | enum { | ||
95 | TCP_PROTOCOL = 1, | ||
96 | UDP_PROTOCOL = 2, | ||
97 | }; | ||
98 | |||
99 | int main(int argc, char **argv) { | 94 | int main(int argc, char **argv) { |
100 | /* Catch pipe errors in read/write - sometimes occurs when writing QUIT */ | 95 | /* Catch pipe errors in read/write - sometimes occurs when writing QUIT */ |
101 | (void)signal(SIGPIPE, SIG_IGN); | 96 | (void)signal(SIGPIPE, SIG_IGN); |