From a4c3bb6153b6fd1a8d54abde6f7d9ecd593a4e4d Mon Sep 17 00:00:00 2001 From: ultramage Date: Wed, 17 Oct 2007 17:20:01 +0000 Subject: Using predefined constants as parameters to the exit() function. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11501 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/chrif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/chrif.c') diff --git a/src/map/chrif.c b/src/map/chrif.c index 7c24ea25d..ccf92a6cf 100644 --- a/src/map/chrif.c +++ b/src/map/chrif.c @@ -343,7 +343,7 @@ int chrif_connectack(int fd) { if (RFIFOB(fd,2)) { ShowFatalError("Connection to char-server failed %d.\n", RFIFOB(fd,2)); - exit(1); + exit(EXIT_FAILURE); } ShowStatus("Successfully logged on to Char Server (Connection: '"CL_WHITE"%d"CL_RESET"').\n",fd); chrif_state = 1; @@ -368,7 +368,7 @@ int chrif_sendmapack(int fd) { if (RFIFOB(fd,2)) { ShowFatalError("chrif : send map list to char server failed %d\n", RFIFOB(fd,2)); - exit(1); + exit(EXIT_FAILURE); } memcpy(wisp_server_name, RFIFOP(fd,3), NAME_LENGTH); -- cgit v1.2.3-60-g2f50