changeset 221:81b4688f684b

Oops, broken function. Fixed.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 15 Feb 2016 10:13:08 +0200
parents 099a1a156fd7
children 723a69185102
files th_string.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/th_string.c	Mon Feb 15 10:11:10 2016 +0200
+++ b/th_string.c	Mon Feb 15 10:13:08 2016 +0200
@@ -53,7 +53,7 @@
  * according to specified flags. See TH_TRIM_* in
  * th_string.h
  */
-static inline th_strdup_trim_do(const char src, size_t len, const int flags)
+static inline char * th_strdup_trim_do(const char *src, size_t len, const int flags)
 {
     char *res;
     size_t start, end;