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/char/int_homun.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/char/int_homun.c') diff --git a/src/char/int_homun.c b/src/char/int_homun.c index 35f8f9c50..62b5a78a1 100644 --- a/src/char/int_homun.c +++ b/src/char/int_homun.c @@ -127,7 +127,7 @@ int inter_homun_init() p = (struct s_homunculus*)aCalloc(sizeof(struct s_homunculus), 1); if(p==NULL){ ShowFatalError("int_homun: out of memory!\n"); - exit(0); + exit(EXIT_FAILURE); } if(inter_homun_fromstr(line,p)==0 && p->hom_id>0){ if( p->hom_id >= homun_newid) -- cgit v1.2.3-70-g09d2