소스 검색

conformance to RFC 821 <CRLF>

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@51 f882894a-f735-0410-b71e-b25c423dba1c
Subhendu Ghosh 24 년 전
부모
커밋
582523e9c3
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      plugins/check_smtp.c

+ 2 - 2
plugins/check_smtp.c

@@ -48,9 +48,9 @@
  * even if syntax is illegal (MAIL requires a FROM:<...> argument)
  * You can disable sending DUMMYCMD by undefining SMTP_USE_DUMMYCMD.
  */
-#define SMTP_DUMMYCMD  "MAIL\n"
+#define SMTP_DUMMYCMD  "MAIL\r\n"
 #define SMTP_USE_DUMMYCMD 1
-#define SMTP_QUIT	"QUIT\n"
+#define SMTP_QUIT	"QUIT\r\n"
 
 int process_arguments (int, char **);
 int call_getopt (int, char **);