summaryrefslogtreecommitdiff
path: root/src/char/int_storage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/char/int_storage.c')
-rw-r--r--src/char/int_storage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/char/int_storage.c b/src/char/int_storage.c
index 4d933d257..daee13134 100644
--- a/src/char/int_storage.c
+++ b/src/char/int_storage.c
@@ -211,7 +211,7 @@ int inter_storage_init()
s = (struct storage*)aCalloc(sizeof(struct storage), 1);
if(s==NULL){
ShowFatalError("int_storage: out of memory!\n");
- exit(0);
+ exit(EXIT_FAILURE);
}
// memset(s,0,sizeof(struct storage)); aCalloc does this...
s->account_id=tmp_int;
@@ -240,7 +240,7 @@ int inter_storage_init()
gs = (struct guild_storage*)aCalloc(sizeof(struct guild_storage), 1);
if(gs==NULL){
ShowFatalError("int_storage: out of memory!\n");
- exit(0);
+ exit(EXIT_FAILURE);
}
// memset(gs,0,sizeof(struct guild_storage)); aCalloc...
gs->guild_id=tmp_int;