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/common/mapindex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/mapindex.c') diff --git a/src/common/mapindex.c b/src/common/mapindex.c index 2fa8c9fb8..0c275c41a 100644 --- a/src/common/mapindex.c +++ b/src/common/mapindex.c @@ -150,7 +150,7 @@ void mapindex_init(void) fp=fopen(mapindex_cfgfile,"r"); if(fp==NULL){ ShowFatalError("Unable to read mapindex config file %s!\n", mapindex_cfgfile); - exit(1); //Server can't really run without this file. + exit(EXIT_FAILURE); //Server can't really run without this file. } while(fgets(line, sizeof(line), fp)) { -- cgit v1.2.3-70-g09d2