summaryrefslogtreecommitdiffstats
path: root/plugins/check_smtp.c
diff options
context:
space:
mode:
authorSubhendu Ghosh <sghosh@users.sourceforge.net>2002-06-13 20:49:38 (GMT)
committerSubhendu Ghosh <sghosh@users.sourceforge.net>2002-06-13 20:49:38 (GMT)
commit582523e9c3457fdc9045f590c244cfd72edb4cdf (patch)
tree03997e7dc01572f70e3fe6c4112610d51e3c1e01 /plugins/check_smtp.c
parent1e5880f508398b03e43de3bb8a92f605b23ab3df (diff)
downloadmonitoring-plugins-582523e9c3457fdc9045f590c244cfd72edb4cdf.tar.gz
conformance to RFC 821 <CRLF>
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@51 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_smtp.c')
-rw-r--r--plugins/check_smtp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c
index 2c03874..2000c62 100644
--- a/plugins/check_smtp.c
+++ b/plugins/check_smtp.c
@@ -48,9 +48,9 @@
48 * even if syntax is illegal (MAIL requires a FROM:<...> argument) 48 * even if syntax is illegal (MAIL requires a FROM:<...> argument)
49 * You can disable sending DUMMYCMD by undefining SMTP_USE_DUMMYCMD. 49 * You can disable sending DUMMYCMD by undefining SMTP_USE_DUMMYCMD.
50 */ 50 */
51#define SMTP_DUMMYCMD "MAIL\n" 51#define SMTP_DUMMYCMD "MAIL\r\n"
52#define SMTP_USE_DUMMYCMD 1 52#define SMTP_USE_DUMMYCMD 1
53#define SMTP_QUIT "QUIT\n" 53#define SMTP_QUIT "QUIT\r\n"
54 54
55int process_arguments (int, char **); 55int process_arguments (int, char **);
56int call_getopt (int, char **); 56int call_getopt (int, char **);