summaryrefslogtreecommitdiff
path: root/src/common/strlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/strlib.c')
-rw-r--r--src/common/strlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/strlib.c b/src/common/strlib.c
index 92601f9b1..60ea266db 100644
--- a/src/common/strlib.c
+++ b/src/common/strlib.c
@@ -123,7 +123,7 @@ char *trim(char *str, const char *delim)
char *strp = strtok(str,delim);
char buf[1024];
char *bufp = buf;
- malloc_tsetdword(buf,0,sizeof buf);
+ memset(buf,0,sizeof buf);
while(strp) {
strcpy(bufp, strp);