From 9e17dab6c3e4b4e7142f3ea5b2a60fcd488dc709 Mon Sep 17 00:00:00 2001 From: Karl DeBisschop Date: Thu, 7 Aug 2003 11:51:12 +0000 Subject: 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 --- plugins/check_game.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/check_game.c') 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 */ -- cgit v1.2.3