diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-10-17 17:20:01 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-10-17 17:20:01 +0000 |
commit | a4c3bb6153b6fd1a8d54abde6f7d9ecd593a4e4d (patch) | |
tree | 75dde2edb2807cb44b6ea17cd2f405ad66399716 /src/char/int_party.c | |
parent | 8982c119eaaa031bbdd70798a077c14b5bc183c1 (diff) | |
download | hercules-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/int_party.c')
-rw-r--r-- | src/char/int_party.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char/int_party.c b/src/char/int_party.c index 96181cd1b..4e6366807 100644 --- a/src/char/int_party.c +++ b/src/char/int_party.c @@ -194,7 +194,7 @@ int inter_party_init() { p = (struct party_data*)aCalloc(sizeof(struct party_data), 1); if (p == NULL){ ShowFatalError("int_party: out of memory!\n"); - exit(0); + exit(EXIT_FAILURE); } memset(p, 0, sizeof(struct party_data)); if (inter_party_fromstr(line, &p->party) == 0 && p->party.party_id > 0) { |