From 6e029b5ec4e936ea5228d5d5339b0b7887cc1eeb Mon Sep 17 00:00:00 2001 From: "me@ow.nekobit.net" Date: Wed, 4 May 2022 01:31:51 +0000 Subject: [PATCH] Fix query values FossilOrigin-Name: 65398eea30625deaed24e6ae750c497bf64bf7b89b267ae48bedd851c793de98 --- src/query.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/query.c b/src/query.c index 0153e09..ab5d5df 100644 --- a/src/query.c +++ b/src/query.c @@ -56,7 +56,7 @@ char* read_query_data(struct get_values* query) if (!(info.key && info.val)) break; for (size_t i = 0; i < (sizeof(refs)/sizeof(refs[0])); ++i) if (strcmp(info.key, refs[i].key) == 0) - refs[i].func(info.val, NULL, info.key); + refs[i].func(info.val, NULL, refs[i].val); } while (g_query_read); }