tmisu

Notification to stdout daemon
git clone https://git.inz.fi/tmisu/
Log | Files | Refs | README | LICENSE

commit c00411af8ad08889148c0ce7af860905cbc6b030
parent 66c00442e939eaa7ece77508d30a5b480d27725e
Author: Thilo Wischmeyer <thwischm@gmail.com>
Date:   Tue, 22 Sep 2020 18:38:07 +0200

Ignore unsupported hints. (fixes issue with stray commas in JSON output)

Diffstat:
Msrc/output.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/output.c b/src/output.c @@ -115,6 +115,8 @@ void hints_output_iterator(GVariant *hints, const char *str_format, /* Booleans */ else if ((value = g_variant_lookup_value(hints, key, GT_BOOL))) printf(boolean_format, key, g_variant_get_boolean(value)); + else + continue; g_variant_unref(value); index++;