diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-08-08 05:09:40 +0000 |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-08-08 05:09:40 +0000 |
commit | a9f992033fc32c0cca125e80d3d96aacfc78b802 (patch) | |
tree | bad34ea7077716b4b074ee66ba3259097a4f3108 /plugins/check_by_ssh.c | |
parent | 65ca899d2c98b6342783922a5709c4b61e6b2b1f (diff) | |
download | monitoring-plugins-a9f992033fc32c0cca125e80d3d96aacfc78b802.tar.gz |
fix a variety of compiler warnings about qualifier discards and other pedantic stuff
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@663 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_by_ssh.c')
-rw-r--r-- | plugins/check_by_ssh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_by_ssh.c b/plugins/check_by_ssh.c index 8527b727..59e8ea0c 100644 --- a/plugins/check_by_ssh.c +++ b/plugins/check_by_ssh.c | |||
@@ -291,7 +291,7 @@ process_arguments (int argc, char **argv) | |||
291 | } | 291 | } |
292 | 292 | ||
293 | if (commands > 1) | 293 | if (commands > 1) |
294 | remotecmd = strscat (remotecmd, ";echo STATUS CODE: $?;"); | 294 | asprintf (&remotecmd, "%s;echo STATUS CODE: $?;", remotecmd); |
295 | 295 | ||
296 | if (remotecmd == NULL || strlen (remotecmd) <= 1) | 296 | if (remotecmd == NULL || strlen (remotecmd) <= 1) |
297 | usage (_("No remotecmd\n")); | 297 | usage (_("No remotecmd\n")); |