summaryrefslogtreecommitdiff
path: root/src/txt-converter
diff options
context:
space:
mode:
Diffstat (limited to 'src/txt-converter')
-rw-r--r--src/txt-converter/login-converter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/txt-converter/login-converter.c b/src/txt-converter/login-converter.c
index 114ec7735..4a9b442f9 100644
--- a/src/txt-converter/login-converter.c
+++ b/src/txt-converter/login-converter.c
@@ -63,7 +63,7 @@ int read_gm_account()
p = (struct gm_account*)malloc(sizeof(struct gm_account));
if(p==NULL){
ShowFatalError("gm_account: out of memory!\n");
- exit(0);
+ exit(EXIT_FAILURE);
}
if(sscanf(line,"%d %d",&p->account_id,&p->level) != 2 || p->level <= 0) {
@@ -101,7 +101,7 @@ int convert_login(void)
{
Sql_ShowDebug(mysql_handle);
Sql_Free(mysql_handle);
- exit(1);
+ exit(EXIT_FAILURE);
}
ShowStatus("Connect: Success!\n");