summaryrefslogtreecommitdiffstats
path: root/plugins/check_fping.c
diff options
context:
space:
mode:
authorBenoit Mortier <opensides@users.sourceforge.net>2004-12-01 23:54:51 (GMT)
committerBenoit Mortier <opensides@users.sourceforge.net>2004-12-01 23:54:51 (GMT)
commitd19edd4043c498626fe68308005947975ef0a697 (patch)
tree7a213ee16f9331e928b1c32aa6c521c05519db58 /plugins/check_fping.c
parent1d8128e328f714258b7fec0c62245e1d187e0439 (diff)
downloadmonitoring-plugins-d19edd4043c498626fe68308005947975ef0a697.tar.gz
standardize localization string
standardize unknow arguments git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@969 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_fping.c')
-rw-r--r--plugins/check_fping.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/plugins/check_fping.c b/plugins/check_fping.c
index 2dba2d5..8647330 100644
--- a/plugins/check_fping.c
+++ b/plugins/check_fping.c
@@ -14,6 +14,8 @@
14 along with this program; if not, write to the Free Software 14 along with this program; if not, write to the Free Software
15 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 15 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
16 16
17 $Id$
18
17******************************************************************************/ 19******************************************************************************/
18 20
19const char *progname = "check_fping"; 21const char *progname = "check_fping";
@@ -66,7 +68,7 @@ main (int argc, char **argv)
66 textdomain (PACKAGE); 68 textdomain (PACKAGE);
67 69
68 if (process_arguments (argc, argv) == ERROR) 70 if (process_arguments (argc, argv) == ERROR)
69 usage (_("Could not parse arguments\n")); 71 usage (_("check_fping: could not parse arguments\n"));
70 72
71 server = strscpy (server, server_name); 73 server = strscpy (server, server_name);
72 74
@@ -116,7 +118,6 @@ main (int argc, char **argv)
116 118
117 119
118 120
119
120int 121int
121textscan (char *buf) 122textscan (char *buf)
122{ 123{
@@ -195,7 +196,6 @@ textscan (char *buf)
195 196
196 return status; 197 return status;
197} 198}
198
199 199
200 200
201 201
@@ -308,8 +308,6 @@ process_arguments (int argc, char **argv)
308 308
309 309
310 310
311
312
313int 311int
314get_threshold (char *arg, char *rv[2]) 312get_threshold (char *arg, char *rv[2])
315{ 313{
@@ -352,8 +350,6 @@ get_threshold (char *arg, char *rv[2])
352 350
353 351
354 352
355
356
357void 353void
358print_help (void) 354print_help (void)
359{ 355{
@@ -398,7 +394,6 @@ percentage of packet loss to trigger an alarm state.\n"));
398 394
399 395
400 396
401
402void 397void
403print_usage (void) 398print_usage (void)
404{ 399{