Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jul 2003 14:26:08 +0200
From:      Simon Barner <barner@in.tum.de>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        current@FreeBSD.org
Subject:   Re: Fixing gcc 3.3 compile failures -- fix for net/netsaint-plugins
Message-ID:  <20030722122608.GC552@zi025.glhnet.mhn.de>
In-Reply-To: <20030718025200.GA36893@rot13.obsecurity.org>
References:  <20030718025200.GA36893@rot13.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--+sHJum3is6Tsg7/J
Content-Type: multipart/mixed; boundary="+jhVVhN62yS6hEJ8"
Content-Disposition: inline


--+jhVVhN62yS6hEJ8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline


--+jhVVhN62yS6hEJ8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="patch-check_by_ssh.c"
Content-Transfer-Encoding: quoted-printable

--- plugins/check_by_ssh.c.orig	Mon Apr 23 09:43:11 2001
+++ plugins/check_by_ssh.c	Tue Jul 22 05:05:52 2003
@@ -191,7 +191,7 @@
 	if (commands>1)
 		remotecmd=3Dstrscat(remotecmd,";echo STATUS CODE: $?;");
=20
-	if (strlen (remotecmd) <=3D 1)
+	if (remotecmd=3D=3DNULL)
 		usage ("No remotecmd\n");
=20
 	comm =3D ssprintf(comm,"%s %s '%s'",comm,hostname,remotecmd);
@@ -369,6 +369,8 @@
 		 "   list of netsaint service names, separated by ':' [optional]\n"
 		 "-n, --name=3DNAME\n"
 		 "   short name of host in netsaint configuration [optional]\n"
+		 "-v, --verbose\n"
+		 "   short name of host in netsaint configuration [optional]\n"
 		 "\n"
 		 "The most common mode of use is to refer to a local identity file with\=
n"
 		 "the '-i' option. In this mode, the identity pair should have a null\n"
@@ -388,7 +390,7 @@
=20
=20
 #define OPTIONS "\
--H <host> [-P port] [-f] [-y] [-t timeout] [-i identity]\n
+-H <host> -C <command> [-fyv] [-P port] [-t timeout] [-i identity]\n\
              [-l user] [-n name] [-s servicelist] [-O outputfile]"
=20
 void print_usage(void)

--+jhVVhN62yS6hEJ8--

--+sHJum3is6Tsg7/J
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/HS1gCkn+/eutqCoRArDmAJ9vrjhewgIUIX+UxsgnWAwhmtvRvQCglm76
DNSVMOqn3tq1NKK0iG6HvmU=
=wqIB
-----END PGP SIGNATURE-----

--+sHJum3is6Tsg7/J--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030722122608.GC552>