From 6f1fc7e3a0196dabe442ef3e4b00c285c954ccd5 Mon Sep 17 00:00:00 2001 From: Karl DeBisschop Date: Thu, 19 Dec 2002 19:30:52 +0000 Subject: expect is +OK for SPOP too git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@233 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/check_tcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/check_tcp.c') diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c index cbe85956..32d38b42 100644 --- a/plugins/check_tcp.c +++ b/plugins/check_tcp.c @@ -171,7 +171,7 @@ main (int argc, char **argv) asprintf (&PROGNAME, "check_spop"); asprintf (&SERVICE, "SPOP"); SEND=NULL; - asprintf (&EXPECT, "110"); + asprintf (&EXPECT, "+OK"); asprintf (&QUIT, "QUIT\r\n"); PROTOCOL=TCP_PROTOCOL; use_ssl=TRUE; -- cgit v1.2.3