From 433ce0f6795a4db89921b26274dd0b18fcccbb21 Mon Sep 17 00:00:00 2001 From: gramanas Date: Tue, 6 Sep 2022 10:42:48 +0300 Subject: Small parser refactor --- src/types.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/types.c') diff --git a/src/types.c b/src/types.c index 9fbb59b..5ce0203 100644 --- a/src/types.c +++ b/src/types.c @@ -163,7 +163,7 @@ void tojson(recipe * r) { printf("{\"filename\":\"%s\",", r->filename); - printf("\"dirname\":\"%s\",", r->path); + printf("\"path\":\"%s\",", r->path); printf("\"title\":\"%s\",", r->title); printf("\"n\":\"%d\",", r->n); printf("\"sha1_short\":\"%.*s\",", 8, r->sha1); -- cgit v1.2.3