diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-09-13 06:06:30 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-09-13 06:06:30 +0000 |
commit | 6eec4f53cc983d63b8d3e203f6095591c350e453 (patch) | |
tree | c746b88b56779554f6b218eb90e6ace48a14c176 /src/char_sql | |
parent | 4bd3eb00fe774b2404958ffe597356e25a9dde4f (diff) | |
download | hercules-6eec4f53cc983d63b8d3e203f6095591c350e453.tar.gz hercules-6eec4f53cc983d63b8d3e203f6095591c350e453.tar.bz2 hercules-6eec4f53cc983d63b8d3e203f6095591c350e453.tar.xz hercules-6eec4f53cc983d63b8d3e203f6095591c350e453.zip |
Wiped out every mention of RETCODE from /src.
The servers no longer save data using CRCRLF as line terminator on Windows.
Closes bugreport:45.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11187 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql')
-rw-r--r-- | src/char_sql/char.c | 6 | ||||
-rw-r--r-- | src/char_sql/int_guild.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c index 8ec26f6a5..458f784e8 100644 --- a/src/char_sql/char.c +++ b/src/char_sql/char.c @@ -1290,7 +1290,7 @@ int make_new_char_sql(int fd, unsigned char *dat) ShowDebug("at %s:%d - %s\n", __FILE__,__LINE__,tmp_sql); } } - //printf("make new char %d-%d %s %d, %d, %d, %d, %d, %d - %d, %d" RETCODE, + //printf("make new char %d-%d %s %d, %d, %d, %d, %d, %d - %d, %d\n", // fd, dat[30], dat, dat[24], dat[25], dat[26], dat[27], dat[28], dat[29], dat[33], dat[31]); //Check Name (already in use?) @@ -3187,7 +3187,7 @@ int parse_char(int fd) ShowDebug("at %s:%d - %s\n", __FILE__,__LINE__,tmp_sql); } } - ShowInfo("Selected char: (Account %d: %d - %s)" RETCODE, sd->account_id, RFIFOB(fd, 2), char_dat.name); + ShowInfo("Selected char: (Account %d: %d - %s)\n", sd->account_id, RFIFOB(fd, 2), char_dat.name); // searching map server i = search_mapserver(char_dat.last_point.map, -1, -1); @@ -3513,7 +3513,7 @@ int parse_console(char* buf) sscanf(buf, "%[^\n]", command); - //login_log("Console command :%s" RETCODE, command); + //login_log("Console command :%s\n", command); if( strcmpi("shutdown", command) == 0 || strcmpi("exit", command) == 0 || diff --git a/src/char_sql/int_guild.c b/src/char_sql/int_guild.c index 93de44571..b72c85ab2 100644 --- a/src/char_sql/int_guild.c +++ b/src/char_sql/int_guild.c @@ -1354,7 +1354,7 @@ int mapif_parse_CreateGuild(int fd,int account_id,char *name,struct guild_member mapif_guild_info(fd,g); if(log_inter) - inter_log("guild %s (id=%d) created by master %s (id=%d)" RETCODE, + inter_log("guild %s (id=%d) created by master %s (id=%d)\n", name, g->guild_id, master->name, master->account_id ); return 0; @@ -1600,7 +1600,7 @@ int mapif_parse_BreakGuild(int fd,int guild_id) mapif_guild_broken(guild_id,0); if(log_inter) - inter_log("guild %s (id=%d) broken" RETCODE,g->name,guild_id); + inter_log("guild %s (id=%d) broken\n",g->name,guild_id); //Remove the guild from memory. [Skotlex] idb_remove(guild_db_, guild_id); @@ -1962,7 +1962,7 @@ int mapif_parse_GuildCastleDataSave(int fd,int castle_id,int index,int value) int gid=(value)?value:gc.guild_id; struct guild *g=idb_get(guild_db_, gid); if(log_inter) - inter_log("guild %s (id=%d) %s castle id=%d" RETCODE, + inter_log("guild %s (id=%d) %s castle id=%d\n", (g)?g->name:"??" ,gid, (value)?"occupy":"abandon", castle_id); } gc.guild_id = value; |