aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_game.c
diff options
context:
space:
mode:
authorGravatar Karl DeBisschop <kdebisschop@users.sourceforge.net> 2003-08-07 11:51:12 +0000
committerGravatar Karl DeBisschop <kdebisschop@users.sourceforge.net> 2003-08-07 11:51:12 +0000
commit9e17dab6c3e4b4e7142f3ea5b2a60fcd488dc709 (patch)
treecb5831f4c018edc441686b2fe7715eb91de4ffee /plugins/check_game.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_game.c')
-rw-r--r--plugins/check_game.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_game.c b/plugins/check_game.c
index 811da270..2b109915 100644
--- a/plugins/check_game.c
+++ b/plugins/check_game.c
@@ -252,7 +252,7 @@ process_arguments (int argc, char **argv)
break;
case 'H': /* hostname */
if (strlen (optarg) >= MAX_HOST_ADDRESS_LENGTH)
- terminate (STATE_UNKNOWN, _("Input buffer overflow\n"));
+ die (STATE_UNKNOWN, _("Input buffer overflow\n"));
server_ip = strdup (optarg);
break;
case 'P': /* port */
@@ -260,7 +260,7 @@ process_arguments (int argc, char **argv)
break;
case 'G': /* hostname */
if (strlen (optarg) >= MAX_INPUT_BUFFER)
- terminate (STATE_UNKNOWN, _("Input buffer overflow\n"));
+ die (STATE_UNKNOWN, _("Input buffer overflow\n"));
game_type = strdup (optarg);
break;
case 'p': /* index of ping field */