소스 검색

Re-added missing variable declarations to check_smtp.c

A recent update removed the declarations for a couple variables in
check_smtp.c that are still being used, which caused a failure
in the compilation of check_smtp.c. This commit restores those variable
declarations so the check_smtp.c will again compile.
Eric Stanley 14 년 전
부모
커밋
49df5964eb
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      plugins/check_smtp.c

+ 2 - 0
plugins/check_smtp.c

@@ -87,6 +87,8 @@ int errcode, excode;
 int server_port = SMTP_PORT;
 int server_port = SMTP_PORT;
 char *server_address = NULL;
 char *server_address = NULL;
 char *server_expect = NULL;
 char *server_expect = NULL;
+char *mail_command = NULL;
+char *from_arg = NULL;
 int send_mail_from=0;
 int send_mail_from=0;
 int ncommands=0;
 int ncommands=0;
 int command_size=0;
 int command_size=0;