summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-23 15:35:02 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-23 15:35:02 +0000
commita8cc76410626fbd0cb88e8a0dcde2a95a12230c8 (patch)
tree817f6db725d21c207cdae413a260d7bac3fac199
parentaf8a025d012d8beaef86448c0656a9f16228982a (diff)
downloadhercules-a8cc76410626fbd0cb88e8a0dcde2a95a12230c8.tar.gz
hercules-a8cc76410626fbd0cb88e8a0dcde2a95a12230c8.tar.bz2
hercules-a8cc76410626fbd0cb88e8a0dcde2a95a12230c8.tar.xz
hercules-a8cc76410626fbd0cb88e8a0dcde2a95a12230c8.zip
- Fixed a compilation bug on linux (FALSE -> false)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11560 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--src/char_sql/int_mail.c10
2 files changed, 7 insertions, 5 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index b56589762..a35430c4a 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -3,6 +3,8 @@ Date Added
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
+2007/10/23
+ * Fixed a compilation bug on linux (FALSE -> false) [Zephyrus]
2007/10/22
* Heat isn't supposed to consume SP when used against players [Playtester]
- please report if it still consumes SP in pvp
diff --git a/src/char_sql/int_mail.c b/src/char_sql/int_mail.c
index 7c6b4afe5..ebcb1df32 100644
--- a/src/char_sql/int_mail.c
+++ b/src/char_sql/int_mail.c
@@ -76,7 +76,7 @@ int mail_fromsql(int char_id, struct mail_data *md)
md->full = ( Sql_NumRows(sql_handle) > MAIL_MAX_INBOX );
md->amount = i;
- md->changed = FALSE;
+ md->changed = false;
Sql_FreeResult(sql_handle);
md->unchecked = 0;
@@ -107,7 +107,7 @@ int mail_savemessage(struct mail_message *msg)
int j;
char esc_send_name[NAME_LENGTH*2+1], esc_dest_name[NAME_LENGTH*2+1];
char esc_title[MAIL_TITLE_LENGTH*2+1], esc_body[MAIL_BODY_LENGTH*2+1];
-
+
if (!msg)
return 0;
@@ -238,7 +238,7 @@ int mapif_parse_Mail_read(int fd)
mail_id = RFIFOL(fd,2);
if( SQL_ERROR == Sql_Query(sql_handle, "UPDATE `%s` SET `read_flag` = '2' WHERE `id` = '%d'", mail_db, mail_id) )
Sql_ShowDebug(sql_handle);
-
+
return 0;
}
@@ -322,7 +322,7 @@ int mapif_Mail_delete(int fd, int char_id, int mail_id)
WFIFOL(fd,6) = mail_id;
WFIFOW(fd,10) = flag;
WFIFOSET(fd,12);
-
+
return 0;
}
@@ -413,7 +413,7 @@ int mapif_parse_Mail_send(int fd)
{
// Try to find the Dest Char by Name
char esc_name[NAME_LENGTH*2+1];
-
+
Sql_EscapeStringLen(sql_handle, esc_name, msg->dest_name, strnlen(msg->dest_name, NAME_LENGTH));
if ( SQL_ERROR == Sql_Query(sql_handle, "SELECT `account_id`, `char_id` FROM `%s` WHERE `name` = '%s'", char_db, esc_name) )
Sql_ShowDebug(sql_handle);