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/int_guild.c | |
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/int_guild.c')
-rw-r--r-- | src/char/int_guild.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/char/int_guild.c b/src/char/int_guild.c index d347d847e..c4ae0a493 100644 --- a/src/char/int_guild.c +++ b/src/char/int_guild.c @@ -470,7 +470,7 @@ int inter_guild_save_sub(DBKey key,void *data,va_list ap) { inter_guild_tostr(line,(struct guild *)data); fp=va_arg(ap,FILE *); - fprintf(fp,"%s" RETCODE,line); + fprintf(fp,"%s\n",line); return 0; } @@ -482,7 +482,7 @@ int inter_castle_save_sub(DBKey key, void *data, va_list ap) { inter_guildcastle_tostr(line, (struct guild_castle *)data); fp = va_arg(ap, FILE *); - fprintf(fp, "%s" RETCODE, line); + fprintf(fp, "%s\n", line); return 0; } @@ -1005,7 +1005,7 @@ int mapif_parse_CreateGuild(int fd, int account_id, char *name, struct guild_mem 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; @@ -1155,7 +1155,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); idb_remove(guild_db, guild_id); return 0; @@ -1448,7 +1448,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; |