changeset 82:3e5c0615125c

Oops, th_alloc() -> th_malloc().
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 04 May 2013 03:39:41 +0300
parents c9c0541bed90
children 50006067bcd1
files th_string.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/th_string.c	Sat May 04 03:38:55 2013 +0300
+++ b/th_string.c	Sat May 04 03:39:41 2013 +0300
@@ -39,7 +39,7 @@
     if (len > n)
         len = n;
 
-    if ((res = th_alloc(len + 1)) == NULL)
+    if ((res = th_malloc(len + 1)) == NULL)
         return NULL;
 
     memcpy(res, s, len);