From owner-freebsd-ports@FreeBSD.ORG Tue Jul 22 05:26:10 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E21D437B401; Tue, 22 Jul 2003 05:26:10 -0700 (PDT) Received: from mailout.informatik.tu-muenchen.de (mailout.informatik.tu-muenchen.de [131.159.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FA8D43F75; Tue, 22 Jul 2003 05:26:10 -0700 (PDT) (envelope-from barner@in.tum.de) Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000) id D4C8A3880B; Tue, 22 Jul 2003 14:26:08 +0200 (CEST) Date: Tue, 22 Jul 2003 14:26:08 +0200 From: Simon Barner To: Kris Kennaway Message-ID: <20030722122608.GC552@zi025.glhnet.mhn.de> References: <20030718025200.GA36893@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+sHJum3is6Tsg7/J" Content-Disposition: inline In-Reply-To: <20030718025200.GA36893@rot13.obsecurity.org> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-new at informatik.tu-muenchen.de cc: ports@FreeBSD.org cc: current@FreeBSD.org Subject: Re: Fixing gcc 3.3 compile failures -- fix for net/netsaint-plugins X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2003 12:26:11 -0000 --+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 [-P port] [-f] [-y] [-t timeout] [-i identity]\n +-H -C [-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--