diff options
Diffstat (limited to 'plugins/check_smtp.c')
-rw-r--r-- | plugins/check_smtp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c index f12b69e..ab1b950 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 */ |