mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-06-13 10:40:01 -04:00
Merge pull request #1574 from waja/check_smtp_custom_command_ssl
Simply initializes n before it is used
This commit is contained in:
commit
eb8ca01be9
1 changed files with 1 additions and 0 deletions
|
|
@ -293,6 +293,7 @@ main (int argc, char **argv)
|
|||
printf("%s", buffer);
|
||||
}
|
||||
|
||||
n = 0;
|
||||
while (n < ncommands) {
|
||||
xasprintf (&cmd_str, "%s%s", commands[n], "\r\n");
|
||||
my_send(cmd_str, strlen(cmd_str));
|
||||
|
|
|
|||
Loading…
Reference in a new issue