fix uninitialized variable (typo from previous commits) - json2tsv - JSON to TS… | |
git clone git://git.codemadness.org/json2tsv | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 3ee79e477e039f8028f1c47e253deeb8d293454a | |
parent b58cef5c0b0297761836fd4ac0fd08f5a81f2eff | |
Author: Hiltjo Posthuma <[email protected]> | |
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(-) | |
--- | |
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; |