summaryrefslogtreecommitdiff
path: root/src/map/charsave.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-07 01:39:51 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-07 01:39:51 +0000
commit5b403ede768abc599e20652254bb758d7eebec6e (patch)
tree2e79ac4b3d5e55df140bc9c679a1c9d7b7d1b013 /src/map/charsave.c
parentce8e4578a996e571810f5412db207bf42adf91dd (diff)
downloadhercules-5b403ede768abc599e20652254bb758d7eebec6e.tar.gz
hercules-5b403ede768abc599e20652254bb758d7eebec6e.tar.bz2
hercules-5b403ede768abc599e20652254bb758d7eebec6e.tar.xz
hercules-5b403ede768abc599e20652254bb758d7eebec6e.zip
- Fixed sql compile.
- Some small adjustments on how the user/password in the char server are read. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5207 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/charsave.c')
-rw-r--r--src/map/charsave.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/charsave.c b/src/map/charsave.c
index c335064c5..fc57ad0d5 100644
--- a/src/map/charsave.c
+++ b/src/map/charsave.c
@@ -498,7 +498,7 @@ void charsave_save_scdata(int account_id, int char_id, struct status_change* sc_
if (timer == NULL || timer->func != status_change_timer || DIFF_TICK(timer->tick,tick) < 0)
continue;
- p += (p, " ('%d','%d','%hu','%d','%d','%d','%d','%d'),", account_id, char_id,
+ p += sprintf(p, " ('%d','%d','%hu','%d','%d','%d','%d','%d'),", account_id, char_id,
i, DIFF_TICK(timer->tick,tick), sc_data->data[i].val1, sc_data->data[i].val2, sc_data->data[i].val3, sc_data->data[i].val4);
count++;