From 11806002ec2d8328b2b7395092cf0990869aecfc Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Sat, 13 Jul 2013 11:42:43 +0200 Subject: [PATCH] don't print crnl to console --- hmland.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hmland.c b/hmland.c index 3dae545..4efc8b5 100644 --- a/hmland.c +++ b/hmland.c @@ -243,8 +243,9 @@ static int hmlan_format_out(uint8_t *buf, int buf_len, void *data) int i; printf("LAN < "); - for (i = 0; i < outpos-out; i++) + for (i = 0; i < outpos-out-2; i++) printf("%c", out[i]); + printf("\n"); } w = write(fd, out, outpos-out); -- 2.39.5