From 3c8999edce9e1f0d5c0dee3ff8311e781d64c684 Mon Sep 17 00:00:00 2001 From: Lance Date: Sun, 27 Aug 2006 06:38:17 +0000 Subject: * Optional macro MEMSET_TURBO for faster low-level memory initializations. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8499 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/common/strlib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/common/strlib.c') diff --git a/src/common/strlib.c b/src/common/strlib.c index d62bf4f46..8cff2a878 100644 --- a/src/common/strlib.c +++ b/src/common/strlib.c @@ -8,7 +8,7 @@ #include "strlib.h" #include "utils.h" -#include "malloc.h" +#include "../common/malloc.h" //----------------------------------------------- // string lib. @@ -123,7 +123,7 @@ char *trim(char *str, const char *delim) char *strp = strtok(str,delim); char buf[1024]; char *bufp = buf; - memset(buf,0,sizeof buf); + malloc_tsetdword(buf,0,sizeof buf); while(strp) { strcpy(bufp, strp); -- cgit v1.2.3-70-g09d2