Code

expect is +OK for SPOP too
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>
Thu, 19 Dec 2002 19:30:52 +0000 (19:30 +0000)
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>
Thu, 19 Dec 2002 19:30:52 +0000 (19:30 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@233 f882894a-f735-0410-b71e-b25c423dba1c

plugins/check_tcp.c

index cbe859568a7b051cda21cf963a4848b4630fca9a..32d38b421ab39d6679740cc67b860fd6d325a4f6 100644 (file)
@@ -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;