diff options
author | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-19 02:41:24 +0000 |
---|---|---|
committer | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-19 02:41:24 +0000 |
commit | 45a388cf0c7a1616dd10dba5b9cb5cd07ef47c27 (patch) | |
tree | 061471d91a31e50c08dfed97a61c05d0e91404c0 /src/char_sql/char.c | |
parent | 3c234c05cfde1c26bbb44b5a0cea3409fc0d4f13 (diff) | |
download | hercules-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.c | 2 |
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`"); |