summaryrefslogtreecommitdiffstats
path: root/plugins/check_game.c
diff options
context:
space:
mode:
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-08-07 11:51:12 (GMT)
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-08-07 11:51:12 (GMT)
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 811da27..2b10991 100644
--- a/plugins/check_game.c
+++ b/plugins/check_game.c
@@ -252,7 +252,7 @@ process_arguments (int argc, char **argv)
252 break; 252 break;
253 case 'H': /* hostname */ 253 case 'H': /* hostname */
254 if (strlen (optarg) >= MAX_HOST_ADDRESS_LENGTH) 254 if (strlen (optarg) >= MAX_HOST_ADDRESS_LENGTH)
255 terminate (STATE_UNKNOWN, _("Input buffer overflow\n")); 255 die (STATE_UNKNOWN, _("Input buffer overflow\n"));
256 server_ip = strdup (optarg); 256 server_ip = strdup (optarg);
257 break; 257 break;
258 case 'P': /* port */ 258 case 'P': /* port */
@@ -260,7 +260,7 @@ process_arguments (int argc, char **argv)
260 break; 260 break;
261 case 'G': /* hostname */ 261 case 'G': /* hostname */
262 if (strlen (optarg) >= MAX_INPUT_BUFFER) 262 if (strlen (optarg) >= MAX_INPUT_BUFFER)
263 terminate (STATE_UNKNOWN, _("Input buffer overflow\n")); 263 die (STATE_UNKNOWN, _("Input buffer overflow\n"));
264 game_type = strdup (optarg); 264 game_type = strdup (optarg);
265 break; 265 break;
266 case 'p': /* index of ping field */ 266 case 'p': /* index of ping field */