summaryrefslogtreecommitdiffstats
path: root/plugins/check_game.c
diff options
context:
space:
mode:
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)
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 */