Re: Fixing gcc 3.3 compile failures -- fix for net/netsaint-plugins

2003-07-22 Thread Jacques A. Vidrine
On Wed, Jul 23, 2003 at 01:57:56AM +0200, Simon Barner wrote: > > > --- plugins/check_by_ssh.c.orig Mon Apr 23 09:43:11 2001 > > > +++ plugins/check_by_ssh.cTue Jul 22 05:05:52 2003 > > > @@ -191,7 +191,7 @@ > > > if (commands>1) > > > remotecmd=strscat(remotecmd,";echo STATUS

Re: Fixing gcc 3.3 compile failures -- fix for net/netsaint-plugins

2003-07-22 Thread Simon Barner
> > --- 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=strscat(remotecmd,";echo STATUS CODE: $?;"); > > > > - if (strlen (remotecmd) <= 1) > > + if (rem

Re: Fixing gcc 3.3 compile failures -- fix for net/netsaint-plugins

2003-07-22 Thread Thomas Dickey
On Tue, Jul 22, 2003 at 02:56:37PM -0500, Jacques A. Vidrine wrote: > On Tue, Jul 22, 2003 at 02:26:08PM +0200, Simon Barner wrote: > > > --- 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 (comman

Re: Fixing gcc 3.3 compile failures -- fix for net/netsaint-plugins

2003-07-22 Thread Jacques A. Vidrine
On Tue, Jul 22, 2003 at 02:26:08PM +0200, Simon Barner wrote: > --- plugins/check_by_ssh.c.orig Mon Apr 23 09:43:11 2001 > +++ plugins/check_by_ssh.cTue Jul 22 05:05:52 2003 > @@ -191,7 +191,7 @@ > if (commands>1) > remotecmd=strscat(remotecmd,";echo STATUS CODE: $?;"

Re: Fixing gcc 3.3 compile failures -- fix for net/netsaint-plugins

2003-07-22 Thread Simon Barner
--- 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=strscat(remotecmd,";echo STATUS CODE: $?;"); - if (strlen (remotecmd) <= 1) + if (remotecmd==NULL)