]> git.zerfleddert.de Git - hmcfgusb/commitdiff
don't print crnl to console
authorMichael Gernoth <michael@gernoth.net>
Sat, 13 Jul 2013 09:42:43 +0000 (11:42 +0200)
committerMichael Gernoth <michael@gernoth.net>
Sat, 13 Jul 2013 09:42:43 +0000 (11:42 +0200)
hmland.c

index 3dae5459b0dc06c7c335d8f93991fd3c303133bf..4efc8b5296321ebcd9bb61fb890918016c2c2449 100644 (file)
--- 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);
Impressum, Datenschutz