tmisu

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

commit e9b47710d8bfc5300f00b5088ee569be56ffd261
parent 66c00442e939eaa7ece77508d30a5b480d27725e
Author: Sweets <sweets@comfi.es>
Date:   Wed, 23 Sep 2020 09:30:05 -0700

Merge pull request #17 from thwischm/master

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++;