diff options
author | Jan Wagner <waja@cyconet.org> | 2019-01-20 20:14:33 +0100 |
---|---|---|
committer | Jan Wagner <waja@cyconet.org> | 2019-01-20 20:14:33 +0100 |
commit | c4c0abcae41d172f0d94064106beba1d210d6d8f (patch) | |
tree | b40a8e81c7e1448c068b5934c1bdea884878316f | |
parent | 8526d65d47195d76d78f0132115dd22ebe8ff557 (diff) | |
parent | eeb41ef1e7f687585aa34be8c655848a4fe647e4 (diff) | |
download | monitoring-plugins-c4c0abcae41d172f0d94064106beba1d210d6d8f.tar.gz |
Merge branch 'check_smtp_custom_command_ssl' into maint-2.2
-rw-r--r-- | plugins/check_smtp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c index 0fcf4c68..d37c57c8 100644 --- a/plugins/check_smtp.c +++ b/plugins/check_smtp.c | |||
@@ -293,6 +293,7 @@ main (int argc, char **argv) | |||
293 | printf("%s", buffer); | 293 | printf("%s", buffer); |
294 | } | 294 | } |
295 | 295 | ||
296 | n = 0; | ||
296 | while (n < ncommands) { | 297 | while (n < ncommands) { |
297 | xasprintf (&cmd_str, "%s%s", commands[n], "\r\n"); | 298 | xasprintf (&cmd_str, "%s%s", commands[n], "\r\n"); |
298 | my_send(cmd_str, strlen(cmd_str)); | 299 | my_send(cmd_str, strlen(cmd_str)); |