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 diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c index cbe8595..32d38b4 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 v0.10-9-g596f