aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_smtp.c
diff options
context:
space:
mode:
authorGravatar Benoit Mortier <opensides@users.sourceforge.net> 2004-12-04 12:12:30 +0000
committerGravatar Benoit 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)
if (is_intpos (optarg))
server_port = atoi (optarg);
else
- usage (_("Port must be a positive integer\n"));
+ usage4 (_("Port must be a positive integer"));
break;
case 'f': /* from argument */
from_arg = optarg;
@@ -330,7 +330,7 @@ process_arguments (int argc, char **argv)
check_critical_time = TRUE;
}
else {
- usage (_("Critical time must be a positive integer\n"));
+ usage4 (_("Critical time must be a positive integer"));
}
break;
case 'w': /* warning time threshold */
@@ -339,7 +339,7 @@ process_arguments (int argc, char **argv)
check_warning_time = TRUE;
}
else {
- usage (_("Warning time must be a positive integer\n"));
+ usage4 (_("Warning time must be a positive integer"));
}
break;
case 'v': /* verbose */
@@ -350,7 +350,7 @@ process_arguments (int argc, char **argv)
socket_timeout = atoi (optarg);
}
else {
- usage (_("Time interval must be a positive integer\n"));
+ usage4 (_("Time interval must be a positive integer"));
}
break;
case '4':
@@ -360,7 +360,7 @@ process_arguments (int argc, char **argv)
#ifdef USE_IPV6
address_family = AF_INET6;
#else
- usage (_("IPv6 support not available\n"));
+ usage4 (_("IPv6 support not available"));
#endif
break;
case 'V': /* version */