summaryrefslogtreecommitdiff
path: root/src/char_sql/char.c
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-19 02:41:24 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-19 02:41:24 +0000
commit45a388cf0c7a1616dd10dba5b9cb5cd07ef47c27 (patch)
tree061471d91a31e50c08dfed97a61c05d0e91404c0 /src/char_sql/char.c
parent3c234c05cfde1c26bbb44b5a0cea3409fc0d4f13 (diff)
downloadhercules-45a388cf0c7a1616dd10dba5b9cb5cd07ef47c27.tar.gz
hercules-45a388cf0c7a1616dd10dba5b9cb5cd07ef47c27.tar.bz2
hercules-45a388cf0c7a1616dd10dba5b9cb5cd07ef47c27.tar.xz
hercules-45a388cf0c7a1616dd10dba5b9cb5cd07ef47c27.zip
guild_cache
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@619 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql/char.c')
-rw-r--r--src/char_sql/char.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c
index f87e1f791..73271b197 100644
--- a/src/char_sql/char.c
+++ b/src/char_sql/char.c
@@ -958,7 +958,7 @@ int mmo_char_fromsql(int char_id, struct mmo_charstatus *p, int online){
for(i=0;i<20;i++) {
p->friend_id[i] = 0;
- sprintf(p->friend_name[i], "");
+ p->friend_name[i][0] = '\0';
}
tmp_p += sprintf(tmp_p, "SELECT `id`, `account_id`");