Merge pull request #1574 from waja/check_smtp_custom_command_ssl

Simply initializes n before it is used
This commit is contained in:
Jan Wagner 2019-01-20 15:04:11 +01:00
commit eb8ca01be9

View file

@ -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));