summaryrefslogtreecommitdiffstats
path: root/plugins/check_nt.c
diff options
context:
space:
mode:
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-08-07 11:51:12 +0000
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-08-07 11:51:12 +0000
commit9e17dab6c3e4b4e7142f3ea5b2a60fcd488dc709 (patch)
treecb5831f4c018edc441686b2fe7715eb91de4ffee /plugins/check_nt.c
parent7f1bb2a782a008b55b0ef657ec01d7fbdb637fd4 (diff)
downloadmonitoring-plugins-9e17dab6c3e4b4e7142f3ea5b2a60fcd488dc709.tar.gz
replace "terminate" with "die" for shorter name and better readability
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@656 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_nt.c')
-rw-r--r--plugins/check_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_nt.c b/plugins/check_nt.c
index 9652fa6b..85c67531 100644
--- a/plugins/check_nt.c
+++ b/plugins/check_nt.c
@@ -448,7 +448,7 @@ int process_arguments(int argc, char **argv){
448 if (is_intnonneg(optarg)) 448 if (is_intnonneg(optarg))
449 server_port=atoi(optarg); 449 server_port=atoi(optarg);
450 else 450 else
451 terminate(STATE_UNKNOWN,"Server port an integer (seconds)\nType '%s -h' for additional help\n",progname); 451 die(STATE_UNKNOWN,"Server port an integer (seconds)\nType '%s -h' for additional help\n",progname);
452 break; 452 break;
453 case 'v': 453 case 'v':
454 if(strlen(optarg)<4) 454 if(strlen(optarg)<4)