changeset 707:57d30f49fe1e

Return the correct return value from th_join_string_elems().
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 27 Apr 2020 00:43:20 +0300
parents d289fae3c1a8
children a34715d51ea4
files th_string.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/th_string.c	Mon Apr 27 00:16:40 2020 +0300
+++ b/th_string.c	Mon Apr 27 00:43:20 2020 +0300
@@ -698,7 +698,7 @@
 
 out:
     th_free(elemlens);
-    return THERR_OK;
+    return res;
 }