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_sql/inter.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/char_sql/inter.c') diff --git a/src/char_sql/inter.c b/src/char_sql/inter.c index 201605bd6..ab03e102b 100644 --- a/src/char_sql/inter.c +++ b/src/char_sql/inter.c @@ -356,7 +356,7 @@ int inter_init_sql(const char *file) { Sql_ShowDebug(sql_handle); Sql_Free(sql_handle); - exit(1); + exit(EXIT_FAILURE); } #ifndef TXT_SQL_CONVERT else if (inter_sql_test()) { @@ -371,7 +371,7 @@ int inter_init_sql(const char *file) Sql_ShowDebug(lsql_handle); Sql_Free(lsql_handle); Sql_Free(sql_handle); - exit(1); + exit(EXIT_FAILURE); } else { @@ -430,7 +430,7 @@ int inter_sql_test (void) if( lsql_handle ) Sql_Free(lsql_handle); Sql_Free(sql_handle); - exit(1); + exit(EXIT_FAILURE); } } -- cgit v1.2.3-70-g09d2