kocotian.pl

My personal webpage sources
git clone git://git.kocotian.pl/kocotian.pl.git
Log | Files | Refs | README | LICENSE

commit 8a47837cf7cf1c84190969371a1a26bc5ab54c29
parent b19930d397c9d4a77f3634a2650723fc53d4b7c3
Author: kocotian <kocotian@kocotian.pl>
Date:   Sat, 20 Mar 2021 20:26:30 +0100

Variable displaying (debug)

Diffstat:
Mgenerate.c | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/generate.c b/generate.c @@ -135,6 +135,12 @@ main(int argc, char *argv[]) readinput.len -= parseinput.len; } + int i; + for (i = 0; i < vss; ++i) + printf(" * [%d]: %.*s = \"%.*s\"\n", i, + vs[i].name.len, vs[i].name.data, + vs[i].value.len, vs[i].value.data); + /* Closing an input */ close(inputfd);