aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_nwstat.c
diff options
context:
space:
mode:
authorGravatar Spenser Reinhardt <sreinhardt@nagios.com> 2014-01-20 14:05:37 -0600
committerGravatar Jan Wagner <waja@cyconet.org> 2014-01-21 11:33:45 +0100
commit212575b8583616058dc4ced59e38d7d36529800a (patch)
tree26843a5211f221acd145a0e32ecf40a1a993c497 /plugins/check_nwstat.c
parent96f45b6698809a73a38ae1b648782bc967f3bbe1 (diff)
downloadmonitoring-plugins-212575b8583616058dc4ced59e38d7d36529800a.tar.gz
plugins/*.c: Alterations for timeout messages.
.c file changes for misleading timeout messages in help functions. Solution to pull request #1209 tracker by awiddersheim. Files: plugins/check_apt.c, plugins/check_by_ssh.c, plugins/check_dbi.c, plugins/check_dig.c, plugins/check_disk.c, plugins/check_dns.c, plugins/check_game.c, plugins/check_http.c, plugins/check_ldap.c, plugins/check_ntp.c, plugins/check_ntp_peer.c, plugins/check_ntp_time.c, plugins/check_nwstat.c, plugins/check_overcr.c, plugins/check_pgsql.c, plugins/check_ping.c, plugins/check_procs.c, plugins/check_radius.c, plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c, plugins/check_ssh.c, plugins/check_tcp.c, plugins/check_time.c, plugins/check_ups.c, plugins/negate.c
Diffstat (limited to 'plugins/check_nwstat.c')
-rw-r--r--plugins/check_nwstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_nwstat.c b/plugins/check_nwstat.c
index 6ebe8f83..f27849aa 100644
--- a/plugins/check_nwstat.c
+++ b/plugins/check_nwstat.c
@@ -1664,7 +1664,7 @@ void print_help(void)
printf (" %s\n", "-o, --osversion");
printf (" %s\n", _("Include server version string in results"));
- printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT);
+ printf (UT_CONN_TIMEOUT, DEFAULT_SOCKET_TIMEOUT);
printf ("\n");
printf ("%s\n", _("Notes:"));