summaryrefslogtreecommitdiff
path: root/src/char/inter.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-17 17:20:01 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-17 17:20:01 +0000
commita4c3bb6153b6fd1a8d54abde6f7d9ecd593a4e4d (patch)
tree75dde2edb2807cb44b6ea17cd2f405ad66399716 /src/char/inter.c
parent8982c119eaaa031bbdd70798a077c14b5bc183c1 (diff)
downloadhercules-a4c3bb6153b6fd1a8d54abde6f7d9ecd593a4e4d.tar.gz
hercules-a4c3bb6153b6fd1a8d54abde6f7d9ecd593a4e4d.tar.bz2
hercules-a4c3bb6153b6fd1a8d54abde6f7d9ecd593a4e4d.tar.xz
hercules-a4c3bb6153b6fd1a8d54abde6f7d9ecd593a4e4d.zip
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
Diffstat (limited to 'src/char/inter.c')
-rw-r--r--src/char/inter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char/inter.c b/src/char/inter.c
index 721017188..f7287eb99 100644
--- a/src/char/inter.c
+++ b/src/char/inter.c
@@ -118,7 +118,7 @@ int inter_accreg_init(void) {
reg = (struct accreg*)aCalloc(sizeof(struct accreg), 1);
if (reg == NULL) {
ShowFatalError("inter: accreg: out of memory!\n");
- exit(0);
+ exit(EXIT_FAILURE);
}
if (inter_accreg_fromstr(line, reg) == 0 && reg->account_id > 0) {
idb_put(accreg_db, reg->account_id, reg);