summaryrefslogtreecommitdiffstats
path: root/plugins/check_smtp.c
diff options
context:
space:
mode:
authorBenoit Mortier <opensides@users.sourceforge.net>2004-12-04 12:12:30 +0000
committerBenoit Mortier <opensides@users.sourceforge.net>2004-12-04 12:12:30 +0000
commit81bee45f6e562ffc30e1129cf00cd76444a77ce8 (patch)
tree8189c3c068bdec1f6ea8e3ca150f7ac71655d7f8 /plugins/check_smtp.c
parent7e2e599660083e1ce6de6d9230e456d9a4e3772d (diff)
downloadmonitoring-plugins-81bee45f6e562ffc30e1129cf00cd76444a77ce8.tar.gz
internationalization fixes
bugfixes git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1001 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_smtp.c')
-rw-r--r--plugins/check_smtp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c
index f12b69e9..ab1b9507 100644
--- a/plugins/check_smtp.c
+++ b/plugins/check_smtp.c
@@ -295,7 +295,7 @@ process_arguments (int argc, char **argv)
295 if (is_intpos (optarg)) 295 if (is_intpos (optarg))
296 server_port = atoi (optarg); 296 server_port = atoi (optarg);
297 else 297 else
298 usage (_("Port must be a positive integer\n")); 298 usage4 (_("Port must be a positive integer"));
299 break; 299 break;
300 case 'f': /* from argument */ 300 case 'f': /* from argument */
301 from_arg = optarg; 301 from_arg = optarg;
@@ -330,7 +330,7 @@ process_arguments (int argc, char **argv)
330 check_critical_time = TRUE; 330 check_critical_time = TRUE;
331 } 331 }
332 else { 332 else {
333 usage (_("Critical time must be a positive integer\n")); 333 usage4 (_("Critical time must be a positive integer"));
334 } 334 }
335 break; 335 break;
336 case 'w': /* warning time threshold */ 336 case 'w': /* warning time threshold */
@@ -339,7 +339,7 @@ process_arguments (int argc, char **argv)
339 check_warning_time = TRUE; 339 check_warning_time = TRUE;
340 } 340 }
341 else { 341 else {
342 usage (_("Warning time must be a positive integer\n")); 342 usage4 (_("Warning time must be a positive integer"));
343 } 343 }
344 break; 344 break;
345 case 'v': /* verbose */ 345 case 'v': /* verbose */
@@ -350,7 +350,7 @@ process_arguments (int argc, char **argv)
350 socket_timeout = atoi (optarg); 350 socket_timeout = atoi (optarg);
351 } 351 }
352 else { 352 else {
353 usage (_("Time interval must be a positive integer\n")); 353 usage4 (_("Time interval must be a positive integer"));
354 } 354 }
355 break; 355 break;
356 case '4': 356 case '4':
@@ -360,7 +360,7 @@ process_arguments (int argc, char **argv)
360#ifdef USE_IPV6 360#ifdef USE_IPV6
361 address_family = AF_INET6; 361 address_family = AF_INET6;
362#else 362#else
363 usage (_("IPv6 support not available\n")); 363 usage4 (_("IPv6 support not available"));
364#endif 364#endif
365 break; 365 break;
366 case 'V': /* version */ 366 case 'V': /* version */