aboutsummaryrefslogtreecommitdiffstats
path: root/com32/gpllib
diff options
context:
space:
mode:
authorErwan Velu <erwanaliasr1@gmail.com>2011-03-23 23:01:59 +0100
committerErwan Velu <erwanaliasr1@gmail.com>2011-03-23 23:01:59 +0100
commit7172cbef157cb33d136054151df60e7095102555 (patch)
treea256156e5a853d16c9e6583eede88fc807366fae /com32/gpllib
parent0ed0e00c1c3b0cfcf744cb58208c9ed54782c9d1 (diff)
downloadsyslinux-7172cbef157cb33d136054151df60e7095102555.tar.gz
syslinux-7172cbef157cb33d136054151df60e7095102555.tar.xz
syslinux-7172cbef157cb33d136054151df60e7095102555.zip
zzjson: Avoid printing empty line after each print
This is useless and generates confusing outputs
Diffstat (limited to 'com32/gpllib')
-rw-r--r--com32/gpllib/zzjson/zzjson_print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/gpllib/zzjson/zzjson_print.c b/com32/gpllib/zzjson/zzjson_print.c
index 8a274c32..a59b3b09 100644
--- a/com32/gpllib/zzjson/zzjson_print.c
+++ b/com32/gpllib/zzjson/zzjson_print.c
@@ -102,7 +102,7 @@ static int zzjson_print2(ZZJSON_CONFIG *config, ZZJSON *zzjson,
int zzjson_print(ZZJSON_CONFIG *config, ZZJSON *zzjson) {
int retval = zzjson_print2(config, zzjson, 0, 0);
- if (retval >= 0) retval = config->putchar('\n', config->ohandle);
+// if (retval >= 0) retval = config->putchar('\n', config->ohandle);
#ifndef CONFIG_NO_ERROR_MESSAGES
if (retval < 0) config->error(config->ehandle, "print: unable to print");
#endif