fix uninitialized variable (typo from previous commits) - json2tsv - JSON to TSV converter
(HTM) git clone git://git.codemadness.org/json2tsv
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 3ee79e477e039f8028f1c47e253deeb8d293454a
(DIR) parent b58cef5c0b0297761836fd4ac0fd08f5a81f2eff
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 5 Apr 2023 18:59:10 +0200
fix uninitialized variable (typo from previous commits)
Diffstat:
M json2tsv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/json2tsv.c b/json2tsv.c
@@ -49,7 +49,7 @@ rs_printvalue(const char *s, size_t len)
{
const char *e;
- e = e + len;
+ e = s + len;
for (; s != e; s++) {
if (*s == fs || *s == rs)
continue;