jsoninfo: set_plugin_boolean stores into an int

Signed-off-by: Nico Geyso <nico.geyso@fu-berlin.de>
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
txtinfo: set_plugin_boolean stores into an int

Signed-off-by: Nico Geyso <nico.geyso@fu-berlin.de>
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
plugins: add a comment to clarify strange behaviour

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
txtinfo: duplicate code in branch

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
txtinfo: ensure null termination of string buffer

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
jsoninfo: fix indentation

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>