diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-12 00:03:07 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-12 00:03:07 +0000 |
commit | 943632514952914ba8d0bee1b50224c1aac715dd (patch) | |
tree | 96521baaa7b480f7ec10f41b37076a652308917d /src/map | |
parent | 349f654e8a72bb6a8ee802e7b38270514d47274c (diff) | |
download | hercules-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
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/script.c | 2 |
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; |