- Fixed a compilation bug on linux (FALSE -> false)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11560 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
zephyrus 2007-10-23 15:35:02 +00:00
parent 9f70b10ff7
commit 3b34abfc21
2 changed files with 7 additions and 5 deletions

View File

@ -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

View File

@ -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);