summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-12 00:03:07 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-12 00:03:07 +0000
commit943632514952914ba8d0bee1b50224c1aac715dd (patch)
tree96521baaa7b480f7ec10f41b37076a652308917d
parent349f654e8a72bb6a8ee802e7b38270514d47274c (diff)
downloadhercules-943632514952914ba8d0bee1b50224c1aac715dd.tar.gz
hercules-943632514952914ba8d0bee1b50224c1aac715dd.tar.bz2
hercules-943632514952914ba8d0bee1b50224c1aac715dd.tar.xz
hercules-943632514952914ba8d0bee1b50224c1aac715dd.zip
Fixing the last buildbot warning; should brian be happy, we'll open champagne
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15068 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 2ffcad83c..2647997c6 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -12971,7 +12971,7 @@ BUILDIN_FUNC(sprintf)
// Need not be parsed, just solve stuff like %%.
if(argc==0){
- sprintf(buf, format);
+ memcpy(buf,format,len+1);
script_pushstrcopy(st, buf);
aFree(buf);
return 0;