diff options
Diffstat (limited to 'src/base/string/join.c')
-rw-r--r-- | src/base/string/join.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/base/string/join.c b/src/base/string/join.c index fb97b6c..04d4739 100644 --- a/src/base/string/join.c +++ b/src/base/string/join.c @@ -1,15 +1,15 @@ #include "internal.h" string -str·join(vlong len, byte** fields, const byte* sep) +string·join(vlong len, byte** fields, byte* sep) { - string s = str·makecap("", 0, 10); + string s = string·makecap("", 0, 10); int j = 0; for (j = 0; j < len; j++) { - str·append(&s, fields[j]); + string·append(&s, fields[j]); if (j < len - 1) - str·appendlen(&s, 1, sep); + string·appendlen(&s, 1, sep); } return s; |